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
parentElement
Type: Microsoft.VisualStudio.Modeling.ModelElementThe parent shape.
Return Value
Type: ICollection
A collection of child shapes that belong to the parent shape.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.