Udostępnij za pośrednictwem


Metoda ShapeElement.ChooseRelationship —

Wybiera które podrzędnej listy nowy kształt podrzędny powinny zostać dodane do — NestedChildShapes lub RelativeChildShapes.

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling.Diagrams
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (w Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Składnia

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

Parametry

Wartość zwracana

Typ: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement.RelationshipType
Wartość wyliczeniowa wskazującą zestaw kształt, który powinien należeć do.

Uwagi

Aby uzyskać więcej informacji, zobacz FixUpChildShapes.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

ShapeElement Klasa

Przestrzeń nazw Microsoft.VisualStudio.Modeling.Diagrams