Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Preserves private member values by restoring them from the ViewState during postback.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Protected Overrides Sub LoadViewState ( _
savedState As Object _
)
'Usage
Dim savedState As Object
Me.LoadViewState(savedState)
protected override void LoadViewState(
Object savedState
)
Parameters
savedState
Type: System.ObjectThe object whose Viewstate will be loaded.
Remarks
LoadViewState improves the performance of getting the properties without going into the ViewState dictionary. The Location, GroupID, and ListTemplateID properties are charged.