SPUserCodeWebPart.SaveControlState method

Saves the state of the SPUserCodeWebPart.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected Overrides Function SaveControlState As Object
'Usage
Dim returnValue As Object

returnValue = Me.SaveControlState()
protected override Object SaveControlState()

Return value

Type: System.Object
The current state of the SPUserCodeWebPart.

Remarks

This override saves the state of the SPUserCodeWebPart when the page is posted back to the server.

See also

Reference

SPUserCodeWebPart class

SPUserCodeWebPart members

Microsoft.SharePoint.WebPartPages namespace