ShapeElement.ChooseRelationship(ShapeElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called by ShapeElement.FixUpChildShapes() to get the type of relationship the child ShapeElement has to its parent.
protected:
virtual Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement::RelationshipType ChooseRelationship(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ childShape);
protected virtual Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement.RelationshipType ChooseRelationship (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement childShape);
abstract member ChooseRelationship : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement.RelationshipType
override this.ChooseRelationship : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement.RelationshipType
Protected Overridable Function ChooseRelationship (childShape As ShapeElement) As ShapeElement.RelationshipType
Parameters
- childShape
- ShapeElement
Child shape to be added to this shape.
Returns
The RelationshipType to create.