編輯

共用方式為


DetailsView.SaveViewState Method

Definition

Saves the current view state of the DetailsView control.

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

Returns

An Object that contains the saved state of the DetailsView control.

Remarks

The SaveViewState method is a helper method called by the DetailsView control to save the state of the control.

Applies to

See also