Diagram.CreateChildShape Method
Creates a child shape for the parent shape.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Parameters
- element
- Type: Microsoft.VisualStudio.Modeling.ModelElement
The parent shape.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe child shape for the parent shape.
- 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.