System.Web.UI.WebControls.TreeNode.Parent Property

Gets the parent node of the current node.

Syntax

[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public TreeNode Parent { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The TreeNode.Parent property returns a System.Web.UI.WebControls.TreeNode object that represents the parent node of the current node. It is commonly used to determine the parent node or to access the properties of the parent node.

Note:

A root node does not have a parent node.

To access the child nodes of the current node, use the TreeNode.ChildNodes property.

Requirements

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