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
- 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.