NodeShape.ChooseRelationship Method
Called by FixUpChildShapes() to get the relationship to create between the child shape and its parent shape.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
protected override ShapeElement..::..RelationshipType ChooseRelationship( ShapeElement childShape )
Parameters
- childShape
- Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The child shape.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement.RelationshipTypeThe relationship to create between the child shape and its parent shape.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.