DocData.Hierarchy Property
Gets the project hierarchy to which the document belongs.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.