RoleHasRolePlayer.SetRolePlayer(DomainRole, DomainClass) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets RolePlayer.
public:
static void SetRolePlayer(Microsoft::VisualStudio::Modeling::DslDefinition::DomainRole ^ element, Microsoft::VisualStudio::Modeling::DslDefinition::DomainClass ^ newRolePlayer);
[System.Diagnostics.DebuggerStepThrough]
public static void SetRolePlayer (Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole element, Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass newRolePlayer);
[<System.Diagnostics.DebuggerStepThrough>]
static member SetRolePlayer : Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole * Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass -> unit
Public Shared Sub SetRolePlayer (element As DomainRole, newRolePlayer As DomainClass)
Parameters
- element
- DomainRole
- newRolePlayer
- DomainClass
- Attributes