- pageIndex
- Specifies the index of the page to be locked or unlocked. This index is zero-based.
- lockPage
- Specifies whether the page will be locked.
Visual Basic (Declaration) | |
---|---|
Public Sub LockPage( _ ByVal pageIndex As Integer, _ ByVal lockPage As Boolean _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- pageIndex
- Specifies the index of the page to be locked or unlocked. This index is zero-based.
- lockPage
- Specifies whether the page will be locked.
Refer to UpdatePage example.
To update a page using UpdatePage, you should call this method
passing true for lockPage to lock the specifed page.
After updating the page, you should unlock the page by calling this method and passing false for
lockPage to unlock the specified page.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family