ModelDataSourceView.SaveViewState Method

Definition

Saves the changes to the view state for the ModelDataSourceView object since the time when the page was posted back to the server.

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

The object that contains the changes to the ModelDataSourceView view state; otherwise null if there is no view state associated with the object.

Implements

Applies to