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
'Déclaration
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.ModelElement
The parent shape.
Return Value
Type: System.Collections.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.