DocData.Hierarchy Property

Gets the project hierarchy to which the document belongs.

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

Syntax

声明
Public ReadOnly Property Hierarchy As IVsHierarchy
    Get
public IVsHierarchy Hierarchy { get; }
public:
property IVsHierarchy^ Hierarchy {
    IVsHierarchy^ get ();
}
member Hierarchy : IVsHierarchy
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