SaveViewState Method

Saves changes to the item's view state to an object.

Syntax

Visual Basic Overrides  Protected  Function 
SaveViewState( ) As object
C# protected   override  object 
SaveViewState( );
Managed C++ protected:  object 
SaveViewState( );
JScript protected   override function
SaveViewState( );

Return Value

Returns an object that contains the view state changes or null.

Remarks

The view state of a control is the accumulation of all its property values.

Applies To

TabItem, TABSTRIP, TOOLBAR, TOOLBARBUTTON, TOOLBARCHECKGROUP, TOOLBARDROPDOWNLIST, ToolbarItem, TOOLBARTEXTBOX, TreeBase, TREENODE, TREEVIEW

See Also

Internet Explorer WebControls, About the TabStrip WebControl, About the Toolbar WebControl, About the TreeView WebControl