NodeShape.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:
override Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement::RelationshipType ChooseRelationship(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ childShape);
protected override Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement.RelationshipType ChooseRelationship (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement childShape);
override this.ChooseRelationship : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement.RelationshipType
Protected Overrides Function ChooseRelationship (childShape As ShapeElement) As ShapeElement.RelationshipType
Parameters
- childShape
- ShapeElement
Child shape to be added to this shape.
Returns
The RelationshipType to create.