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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
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: 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