System.Web.UI.WebControls.WebParts.WebPartVerb.SaveViewState Method

Saves a System.Web.UI.WebControls.WebParts.WebPartVerb object's view-state changes that occurred since the page was last posted back to the server.

Syntax

protected virtual object SaveViewState ()

Returns

An object that contains the state data to be saved.

Remarks

If there is any view-state data, this method calls the base method and saves the data.

Requirements

Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0