ShapeElement.ChooseRelationship(ShapeElement) Method

Definition

Called by ShapeElement.FixUpChildShapes() to get the type of relationship the child ShapeElement has to its parent.

C++
protected:
 virtual Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement::RelationshipType ChooseRelationship(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ childShape);

Parameters

childShape
ShapeElement

Child shape to be added to this shape.

Returns

The RelationshipType to create.

Applies to

Product Versions
Visual Studio SDK 2017, 2019, 2022