CommentShape.ChooseRelationship Method
Called by ShapeElement.FixUpChildShapes() to get the type of relationship the child ShapeElement has to its parent.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
Protected Overrides Function ChooseRelationship ( _
childShape As ShapeElement _
) As ShapeElement..::..RelationshipType
protected override ShapeElement..::..RelationshipType ChooseRelationship(
ShapeElement childShape
)
protected:
virtual ShapeElement..::..RelationshipType ChooseRelationship(
ShapeElement^ childShape
) override
abstract ChooseRelationship :
childShape:ShapeElement -> ShapeElement..::..RelationshipType
override ChooseRelationship :
childShape:ShapeElement -> ShapeElement..::..RelationshipType
protected override function ChooseRelationship(
childShape : ShapeElement
) : ShapeElement..::..RelationshipType
Parameters
- childShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Child shape to be added to this shape.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement.RelationshipType
Remarks
Called by ShapeElement.FixUpChildShapes() to get the type of relationship that the child ShapeElement has to its parent.
.NET Framework Security
- 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.