Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the link role player that corresponds to this role.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Public Sub SetRolePlayer ( _
link As ElementLink, _
newRolePlayerElement As ModelElement _
)
public void SetRolePlayer(
ElementLink link,
ModelElement newRolePlayerElement
)
public:
void SetRolePlayer(
ElementLink^ link,
ModelElement^ newRolePlayerElement
)
member SetRolePlayer :
link:ElementLink *
newRolePlayerElement:ModelElement -> unit
public function SetRolePlayer(
link : ElementLink,
newRolePlayerElement : ModelElement
)
Parameters
- link
Type: Microsoft.VisualStudio.Modeling.ElementLink
The element link.
- newRolePlayerElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
The new role player for this role.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.