ShapeElement::ChooseRelationship Method (ShapeElement^)

 

Selects which child list a new child shape should be added to – NestedChildShapes or RelativeChildShapes.

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

protected:
virtual ShapeElement::RelationshipType ChooseRelationship(
	ShapeElement^ childShape
)

Parameters

childShape
Type: Microsoft.VisualStudio.Modeling.Diagrams::ShapeElement^

The child shape.

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams::ShapeElement::RelationshipType

An enumerated value indicating which set the shape should belong to.

For more information, see FixUpChildShapes.

Return to top
Show: