ShapeElement::ChooseRelationship Method (ShapeElement^)
Visual Studio 2015
Selects which child list a new child shape should be added to – NestedChildShapes or RelativeChildShapes.
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::RelationshipTypeAn enumerated value indicating which set the shape should belong to.
For more information, see FixUpChildShapes.
Show: