共用方式為


IVsHierarchyItemIdentity.Hierarchy Property

Gets the IVsHierarchy representing the outer hierarchy of the item.

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

Syntax

'宣告
ReadOnly Property Hierarchy As IVsHierarchy
IVsHierarchy Hierarchy { get; }

Property Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
The hierarchy representing the outer hierarchy of the item.

.NET Framework Security

See Also

Reference

IVsHierarchyItemIdentity Interface

Microsoft.VisualStudio.Shell Namespace