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
- rolePlayerElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
The 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.