DomainRoleInfo.GetLinkedElement Method (ModelElement)

Gets the element linked to this element in the relationship.

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

Syntax

'Declaration
Public Function GetLinkedElement ( _
    rolePlayerElement As ModelElement _
) As ModelElement
'Usage
Dim instance As DomainRoleInfo 
Dim rolePlayerElement As ModelElement 
Dim returnValue As ModelElement 

returnValue = instance.GetLinkedElement(rolePlayerElement)
public ModelElement GetLinkedElement(
    ModelElement rolePlayerElement
)
public:
ModelElement^ GetLinkedElement(
    ModelElement^ rolePlayerElement
)
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

DomainRoleInfo Members

GetLinkedElement Overload

Microsoft.VisualStudio.Modeling Namespace