Partager via


DomainRoleInfo.GetLinkedElement Method (ModelElement)

Gets the element linked to this element in the relationship.

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

Syntax

'Déclaration
Public Function GetLinkedElement ( _
    rolePlayerElement As ModelElement _
) As ModelElement
public ModelElement GetLinkedElement(
    ModelElement rolePlayerElement
)
public:
ModelElement^ GetLinkedElement(
    ModelElement^ rolePlayerElement
)
member GetLinkedElement : 
        rolePlayerElement:ModelElement -> ModelElement 
public function GetLinkedElement(
    rolePlayerElement : ModelElement
) : ModelElement

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.ModelElement
A ModelElement on the other side of the relationship.

Remarks

This is used for relationships where the multiplicity is 1..1 or 0..1.

.NET Framework Security

See Also

Reference

DomainRoleInfo Class

GetLinkedElement Overload

Microsoft.VisualStudio.Modeling Namespace