Share via


FeatureMenuTemplate.LoadViewState Method

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.Object

    The 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.

See Also

Reference

FeatureMenuTemplate Class

FeatureMenuTemplate Members

Microsoft.SharePoint.WebControls Namespace