HierarchyInfo.Parent Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the parent node.
public:
property Microsoft::Web::Management::Client::HierarchyInfo ^ Parent { Microsoft::Web::Management::Client::HierarchyInfo ^ get(); };
public Microsoft.Web.Management.Client.HierarchyInfo Parent { get; }
member this.Parent : Microsoft.Web.Management.Client.HierarchyInfo
Public ReadOnly Property Parent As HierarchyInfo
Property Value
The HierarchyInfo object that is the parent of the current node.
Examples
The following example sends Parent information to the trace listener.
public void DebugParent()
{
HierarchyInfo p = Parent;
Trace.WriteLine("Parent Data: NodeType = " + p.NodeType +
" NodeTypeName = " + p.NodeTypeName);
}