Udostępnij za pośrednictwem


NodeShape.ChooseRelationship(ShapeElement) Method

Definition

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.

Applies to