ShapeElement.GetChildElements(ModelElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.