共用方式為


IVsHierarchyItem.AreChildrenRealized Property

Indicates whether the child items of an IVsHierarchyItem have already been enumerated.

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

Syntax

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

Property Value

Type: System.Boolean
true if the child items have already been enumerated, otherwise false.

Remarks

This property can be used to determine if the enumeration of the child items of the hierarchy item has not already occurred and therefore will incur the cost of accessing the IVsHierarchy, or whether the Children property will return an already-populated collection.

.NET Framework Security

See Also

Reference

IVsHierarchyItem Interface

Microsoft.VisualStudio.Shell Namespace