Condividi tramite


ConsoleDataSource.LoadViewState Method

Restores view-state information from a previous page request that was saved by the SaveViewState method.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Protected Overrides Sub LoadViewState ( _
    savedState As Object _
)
'Usage
Dim savedState As Object

Me.LoadViewState(savedState)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
protected override void LoadViewState(
    Object savedState
)

Parameters

  • savedState
    Type: System.Object

    An object that represents the control state to be restored.

See Also

Reference

ConsoleDataSource Class

ConsoleDataSource Members

Microsoft.SharePoint.Publishing.WebControls Namespace