共用方式為


IVsHierarchyItemIdentity.IsNestedItem Property

Gets whether this item is a nested item or not.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)

Syntax

'宣告
ReadOnly Property IsNestedItem As Boolean
bool IsNestedItem { get; }

Property Value

Type: System.Boolean
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.

.NET Framework Security

See Also

Reference

IVsHierarchyItemIdentity Interface

Microsoft.VisualStudio.Shell Namespace