共用方式為


IVsHierarchyItemIdentity.IsRoot Property

Definition

Gets whether the item is the root of its IVsHierarchy.

public:
 property bool IsRoot { bool get(); };
public:
 property bool IsRoot { bool get(); };
public bool IsRoot { get; }
member this.IsRoot : bool
Public ReadOnly Property IsRoot As Boolean

Property Value

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.

Applies to