Compartir a través de


DomainRoleInfo.SetLinkedElement Method (ModelElement, Guid, ModelElement)

Sets the link role player 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 Shared Sub SetLinkedElement ( _
    rolePlayerElement As ModelElement, _
    domainRoleId As Guid, _
    linkedElement As ModelElement _
)
public static void SetLinkedElement(
    ModelElement rolePlayerElement,
    Guid domainRoleId,
    ModelElement linkedElement
)
public:
static void SetLinkedElement(
    ModelElement^ rolePlayerElement, 
    Guid domainRoleId, 
    ModelElement^ linkedElement
)
static member SetLinkedElement : 
        rolePlayerElement:ModelElement * 
        domainRoleId:Guid * 
        linkedElement:ModelElement -> unit 
public static function SetLinkedElement(
    rolePlayerElement : ModelElement, 
    domainRoleId : Guid, 
    linkedElement : ModelElement
)

Parameters

  • domainRoleId
    Type: System.Guid
    The role played by the element.

.NET Framework Security

See Also

Reference

DomainRoleInfo Class

SetLinkedElement Overload

Microsoft.VisualStudio.Modeling Namespace