IVsHierarchyItemIdentity.IsRoot Property
Gets whether the item is the root of its IVsHierarchy.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)
Syntax
'宣告
ReadOnly Property IsRoot As Boolean
bool IsRoot { get; }
Property Value
Type: System.Boolean
true if the item is the root of a hierarchy, otherwise false.
Remarks
The root of a specific IVsHierarchy does not necessarily indicate the root of the entire tree.
.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.