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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family