共用方式為


IShape.ChildShapes Property

Shapes that are contained within this shape. For example, the attribute and operation rows of a class shape; class shapes contained inside a package shape; ports and parts inside a component. For each ChildShape, ParentShape == this.

Namespace:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

Syntax

'Declaration
ReadOnly Property ChildShapes As IEnumerable(Of IShape)
IEnumerable<IShape> ChildShapes { get; }
property IEnumerable<IShape^>^ ChildShapes {
    IEnumerable<IShape^>^ get ();
}
abstract ChildShapes : IEnumerable<IShape> with get
function get ChildShapes () : IEnumerable<IShape>

Property Value

Type: System.Collections.Generic.IEnumerable<IShape>

.NET Framework Security

See Also

Reference

IShape Interface

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation Namespace