次の方法で共有


ShapeElement.ChooseRelationship(ShapeElement) Method

Definition

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.

Applies to