次の方法で共有


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

See Also

Reference

IVsHierarchyItemIdentity Interface

Microsoft.VisualStudio.Shell Namespace