SummaryLinkWebPart.SaveViewState method

Save the 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 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
Returns Object.

Remarks

This is part of the view state control lifecycle. Viewstate for this control includes the SummaryLinkValue object. In Display mode, no view states are saved, but in all other modes the value completes a round trip.

See also

Reference

SummaryLinkWebPart class

SummaryLinkWebPart members

Microsoft.SharePoint.Publishing.WebControls namespace