共用方式為


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

'宣告
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