ListControl::SaveViewState Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

protected:
virtual Object^ SaveViewState() override

Return Value

Type: System::Object^

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

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

System_CAPS_noteNote

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

.NET Framework
Available since 1.1
Return to top
Show: