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
'宣告
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
- element
Type: Microsoft.VisualStudio.Modeling.ModelElement
The parent shape.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The child shape for the parent shape.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.