共用方式為


IVsHierarchyItem.Children Property

Gets the child items of this IVsHierarchyItem.

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

Syntax

'宣告
ReadOnly Property Children As IEnumerable(Of IVsHierarchyItem)
IEnumerable<IVsHierarchyItem> Children { get; }

Property Value

Type: System.Collections.Generic.IEnumerable<IVsHierarchyItem>
The child items of the hierarchy item.

Remarks

If the items have not been previously enumerated, accessing this property incurs the cost of enumerating those items in the underlying IVsHierarchy.

.NET Framework Security

See Also

Reference

IVsHierarchyItem Interface

Microsoft.VisualStudio.Shell Namespace