Edit

Share via


ListView.SaveViewState Method

Definition

Saves the current view state of the ListView 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 view state values for the ListView control.

Remarks

The SaveViewState method is a helper method that is called by the ListView control to save the state of the control. For more information, see WebControl.SaveViewState.

Applies to

See also