Redigera

Dela via


DataBoundControl.SaveViewState Method

Definition

Saves any view-state changes that have occurred since the time the page was posted back to the server.

protected:
 override System::Object ^ SaveViewState();
protected override object SaveViewState ();
override this.SaveViewState : unit -> obj
Protected Overrides Function SaveViewState () As Object

Returns

The control's current view state. If there is no view state associated with the control, this method returns null.

Applies to