DomainRoleInfo.SetLinkedElement Method (ModelElement, ModelElement)
Sets the element on the other side of the relationship.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaración
Public Sub SetLinkedElement ( _
rolePlayerElement As ModelElement, _
linkedElement As ModelElement _
)
public void SetLinkedElement(
ModelElement rolePlayerElement,
ModelElement linkedElement
)
public:
void SetLinkedElement(
ModelElement^ rolePlayerElement,
ModelElement^ linkedElement
)
member SetLinkedElement :
rolePlayerElement:ModelElement *
linkedElement:ModelElement -> unit
public function SetLinkedElement(
rolePlayerElement : ModelElement,
linkedElement : ModelElement
)
Parameters
- rolePlayerElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
The element playing this role.
- linkedElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
The element playing the opposite role in the domain relationship.
.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.