共用方式為


Diagram.CreateChildShape(ModelElement) Method

Definition

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

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

Parameters

element
ModelElement

Returns

Applies to