Partager via


IVsHierarchyItem.Parent Property

Gets the parent IVsHierarchyItem for this item.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)

Syntax

'Declaration
ReadOnly Property Parent As IVsHierarchyItem
IVsHierarchyItem Parent { get; }
property IVsHierarchyItem^ Parent {
    IVsHierarchyItem^ get ();
}
abstract Parent : IVsHierarchyItem with get
function get Parent () : IVsHierarchyItem

Property Value

Type: Microsoft.VisualStudio.Shell.IVsHierarchyItem
The parent hierarchy item for this item, or null if the item is at the root of the IVsUIHierarchyWindow.

.NET Framework Security

See Also

Reference

IVsHierarchyItem Interface

Microsoft.VisualStudio.Shell Namespace