TreeNode.Parent Property
.NET Framework 3.0
Gets the parent node of the current node.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
The Parent property returns a 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 ChildNodes property.
Community Additions
ADD
Show:
Note: