RoleHasRolePlayer.SetRolePlayer Method
Sets RolePlayer.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
Public Shared Sub SetRolePlayer ( _
element As DomainRole, _
newRolePlayer As DomainClass _
)
public static void SetRolePlayer(
DomainRole element,
DomainClass newRolePlayer
)
public:
static void SetRolePlayer(
DomainRole^ element,
DomainClass^ newRolePlayer
)
static member SetRolePlayer :
element:DomainRole *
newRolePlayer:DomainClass -> unit
public static function SetRolePlayer(
element : DomainRole,
newRolePlayer : DomainClass
)
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole
- newRolePlayer
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass
.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.