共用方式為


IVsHierarchyItemIdentity.IsNestedItem Property

Definition

Gets whether this item is a nested item or not.

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

Property Value

true if the item is a nested item, otherwise false.

Remarks

A nested item has a different Hierarchy / ItemID and NestedHierarchy / NestedItemID representing two item identifiers that are logically the same item. Non-nested items have identical Hierarchy / ItemID and NestedHierarchy / NestedItemID.

Applies to