ListControl.SaveViewState Method

Definition

Saves the current view state of the ListControl -derived control and the items it contains.

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 ListControl control.

Remarks

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

Note

This method is used primarily by control developers when extending the ListControl control.

Applies to

See also