Diagram.CreateChildShape Method

Creates a child shape for 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

'Declaração
Protected Overrides Function CreateChildShape ( _
    element As ModelElement _
) As ShapeElement
protected override ShapeElement CreateChildShape(
    ModelElement element
)
protected:
virtual ShapeElement^ CreateChildShape(
    ModelElement^ element
) override
abstract CreateChildShape : 
        element:ModelElement -> ShapeElement 
override CreateChildShape : 
        element:ModelElement -> ShapeElement 
protected override function CreateChildShape(
    element : ModelElement
) : ShapeElement

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The child shape for the parent shape.

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace