Condividi tramite


ShapeElement.ChooseParentShape Method

Selects a parent shape for a new child shape, typically this shape.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Dichiarazione
Public Overridable Function ChooseParentShape ( _
    childShape As ShapeElement _
) As ShapeElement
public virtual ShapeElement ChooseParentShape(
    ShapeElement childShape
)
public:
virtual ShapeElement^ ChooseParentShape(
    ShapeElement^ childShape
)
abstract ChooseParentShape : 
        childShape:ShapeElement -> ShapeElement 
override ChooseParentShape : 
        childShape:ShapeElement -> ShapeElement 
public function ChooseParentShape(
    childShape : ShapeElement
) : ShapeElement

Parameters

Return Value

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

Remarks

For more information, see FixUpChildShapes(ModelElement).

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace