TreeNode.SaveViewState Method ()


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

This API supports the product infrastructure and is not intended to be used directly from your code.

Saves the current view state of the node.

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

protected virtual object SaveViewState()

Return Value

Type: System.Object

An Object that contains the saved state of the node.

The SaveViewState method is a helper method called by the node to save its state.

.NET Framework
Available since 2.0
Return to top