다음을 통해 공유


DomainRoleInfo.SetLinkedElement Method (ModelElement, ModelElement)

Sets the element on the other side of the relationship.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
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

.NET Framework Security

See Also

Reference

DomainRoleInfo Class

SetLinkedElement Overload

Microsoft.VisualStudio.Modeling Namespace