共用方式為


ShapeElement.GetChildElements Method

Gets a collection of child shapes that belong to the parent shape.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public Overridable Function GetChildElements ( _
    parentElement As ModelElement _
) As ICollection
public virtual ICollection GetChildElements(
    ModelElement parentElement
)
public:
virtual ICollection^ GetChildElements(
    ModelElement^ parentElement
)
abstract GetChildElements : 
        parentElement:ModelElement -> ICollection 
override GetChildElements : 
        parentElement:ModelElement -> ICollection 
public function GetChildElements(
    parentElement : ModelElement
) : ICollection

Parameters

Return Value

Type: System.Collections.ICollection
A collection of child shapes that belong to the parent shape.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace