ModelDataSource.SaveViewState Method

Definition

Saves the state of the control.

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

Returns

Returns the control's current view state; otherwise, returns null, if there is no view state associated with the control.

Applies to