DomainRoleInfo.SetRolePlayer Method (ElementLink, ModelElement)

Sets the link role player that corresponds to this role.

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

Syntax

'宣言
Public Sub SetRolePlayer ( _
    link As ElementLink, _
    newRolePlayerElement As ModelElement _
)
'使用
Dim instance As DomainRoleInfo
Dim link As ElementLink
Dim newRolePlayerElement As ModelElement

instance.SetRolePlayer(link, newRolePlayerElement)
public void SetRolePlayer(
    ElementLink link,
    ModelElement newRolePlayerElement
)
public:
void SetRolePlayer(
    ElementLink^ link, 
    ModelElement^ newRolePlayerElement
)
public function SetRolePlayer(
    link : ElementLink, 
    newRolePlayerElement : ModelElement
)

Parameters

Permissions

See Also

Reference

DomainRoleInfo Class

DomainRoleInfo Members

SetRolePlayer Overload

Microsoft.VisualStudio.Modeling Namespace