Share via


ConsoleDataSource.LoadViewState Method

Overrides the ASP.NET LoadViewState method and restores the specified saved view state.

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