Compartilhar via


DomainRoleInfo.SetLinkedElement Method

Definition

Overloads

SetLinkedElement(ModelElement, ModelElement)

Sets the element on the other side of relationship.

SetLinkedElement(ModelElement, Guid, ModelElement)

Sets link role player on the other side of relationship.

SetLinkedElement(ModelElement, ModelElement)

Sets the element on the other side of relationship.

public:
 void SetLinkedElement(Microsoft::VisualStudio::Modeling::ModelElement ^ rolePlayerElement, Microsoft::VisualStudio::Modeling::ModelElement ^ linkedElement);
public void SetLinkedElement (Microsoft.VisualStudio.Modeling.ModelElement rolePlayerElement, Microsoft.VisualStudio.Modeling.ModelElement linkedElement);
member this.SetLinkedElement : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.ModelElement -> unit
Public Sub SetLinkedElement (rolePlayerElement As ModelElement, linkedElement As ModelElement)

Parameters

rolePlayerElement
ModelElement

Element playing this role.

linkedElement
ModelElement

Element playing the opposite role in domain relationship.

Applies to

SetLinkedElement(ModelElement, Guid, ModelElement)

Sets link role player on the other side of relationship.

public:
 static void SetLinkedElement(Microsoft::VisualStudio::Modeling::ModelElement ^ rolePlayerElement, Guid domainRoleId, Microsoft::VisualStudio::Modeling::ModelElement ^ linkedElement);
public static void SetLinkedElement (Microsoft.VisualStudio.Modeling.ModelElement rolePlayerElement, Guid domainRoleId, Microsoft.VisualStudio.Modeling.ModelElement linkedElement);
static member SetLinkedElement : Microsoft.VisualStudio.Modeling.ModelElement * Guid * Microsoft.VisualStudio.Modeling.ModelElement -> unit
Public Shared Sub SetLinkedElement (rolePlayerElement As ModelElement, domainRoleId As Guid, linkedElement As ModelElement)

Parameters

rolePlayerElement
ModelElement

Element playing a role.

domainRoleId
Guid

Role played by the element.

linkedElement
ModelElement

Element on the other side of relationship.

Applies to