다음을 통해 공유


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.

See Also

Reference

ContentByQueryWebPart Class

ContentByQueryWebPart Members

Microsoft.SharePoint.Publishing.WebControls Namespace

ContentByQueryWebPart