ContentByQueryWebPart.SaveViewState Method
Part of the view state control lifecycle.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Protected Overrides Function SaveViewState As Object
'Usage
Dim returnValue As Object
returnValue = Me.SaveViewState()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
protected override Object SaveViewState()
Return Value
Type: System.Object
Remarks
View state for this control consists of the SummaryLinkValue object.
View state is saved in all modes except Display mode.