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
rolePlayerElement
Type: Microsoft.VisualStudio.Modeling.ModelElementThe element playing this role.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.