LabelShape::ChooseRelationship Method (ShapeElement^)

 

Gets the type of relationship between the child label shape and its parent label shape.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

protected:
virtual ShapeElement::RelationshipType ChooseRelationship(
	ShapeElement^ childShape
) override

Parameters

childShape
Type: Microsoft.VisualStudio.Modeling.Diagrams::ShapeElement^

The child label shape.

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams::ShapeElement::RelationshipType

The type of relationship to create.

Return to top
Show: