Freigeben über


ShapeElement.ChooseRelationship-Methode

Wählt aus, welcher untergeordneten Liste eine untergeordnete Form hinzugefügt werden soll – NestedChildShapes oder RelativeChildShapes.

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

Syntax

'Declaration
Protected Overridable Function ChooseRelationship ( _
    childShape As ShapeElement _
) As ShapeElement.RelationshipType
protected virtual ShapeElement.RelationshipType ChooseRelationship(
    ShapeElement childShape
)

Parameter

Rückgabewert

Typ: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement.RelationshipType
Ein Enumerationswert, der anzeigt, welchem Satz die Form gehören sollte.

Hinweise

Weitere Informationen finden Sie unter FixUpChildShapes.

.NET Framework-Sicherheit

Siehe auch

Referenz

ShapeElement Klasse

Microsoft.VisualStudio.Modeling.Diagrams-Namespace