Compartir a través de


DocData.Hierarchy Property

Gets the project hierarchy to which the document belongs.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
Public ReadOnly Property Hierarchy As IVsHierarchy
public IVsHierarchy Hierarchy { get; }
public:
property IVsHierarchy^ Hierarchy {
    IVsHierarchy^ get ();
}
member Hierarchy : IVsHierarchy with get
function get Hierarchy () : IVsHierarchy

Property Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
The project hierarchy to which the document belongs.

Remarks

This property implements the IVsHierarchy interface.

The project hierarchy contains nodes. The document represents a node in the hierarchy. Each node has a cookie (VSITEMID) that identifies it in the hierarchy.

.NET Framework Security

See Also

Reference

DocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace