Compartir a través de


ShapeElement.GetChildElements(ModelElement) Method

Definition

Called by ShapeElement.FixUpChildShapes() to get a collection of ModelElements that are considered child elements of the specified ModelElement. The child elements returned should have corresponding shape types that can be instantiated as child shapes of this ShapeElement.

public:
 virtual System::Collections::ICollection ^ GetChildElements(Microsoft::VisualStudio::Modeling::ModelElement ^ parentElement);
public virtual System.Collections.ICollection GetChildElements (Microsoft.VisualStudio.Modeling.ModelElement parentElement);
abstract member GetChildElements : Microsoft.VisualStudio.Modeling.ModelElement -> System.Collections.ICollection
override this.GetChildElements : Microsoft.VisualStudio.Modeling.ModelElement -> System.Collections.ICollection
Public Overridable Function GetChildElements (parentElement As ModelElement) As ICollection

Parameters

parentElement
ModelElement

The element for which to find child elements.

Returns

A collection of ModelElements that are considered children of the specified ModelElement.

Applies to