Udostępnij za pośrednictwem


Metoda DomainRoleInfo.GetLinkedElement — (ModelElement)

Pobiera element, połączone z tym elementem w relacji.

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

Składnia

'Deklaracja
Public Function GetLinkedElement ( _
    rolePlayerElement As ModelElement _
) As ModelElement
public ModelElement GetLinkedElement(
    ModelElement rolePlayerElement
)

Parametry

Wartość zwracana

Typ: Microsoft.VisualStudio.Modeling.ModelElement
A ModelElement po drugiej stronie relacji.

Uwagi

To jest używany w przypadku relacji, gdy liczebność jest 1..1 lub 0..1.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

DomainRoleInfo Klasa

Przeciążenie GetLinkedElement

Przestrzeń nazw Microsoft.VisualStudio.Modeling