Udostępnij za pośrednictwem


ShapeElement.CreateChildShape(ModelElement) Method

Definition

Called by ShapeElement.FixUpChildShapes() to retrieve a new instance of a child shape for the given model element.

protected:
 virtual Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ CreateChildShape(Microsoft::VisualStudio::Modeling::ModelElement ^ element);
protected virtual Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement CreateChildShape (Microsoft.VisualStudio.Modeling.ModelElement element);
abstract member CreateChildShape : Microsoft.VisualStudio.Modeling.ModelElement -> Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
override this.CreateChildShape : Microsoft.VisualStudio.Modeling.ModelElement -> Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Protected Overridable Function CreateChildShape (element As ModelElement) As ShapeElement

Parameters

element
ModelElement

Returns

Remarks

Default behavior is to redirect the call to the current Diagram.

Applies to