System.Web.UI.WebControls.TreeNode.SaveViewState Method

Saves the current view state of the node.

Syntax

protected virtual object SaveViewState ()

Returns

An object that contains the saved state of the node.

Remarks

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

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0