RoleHasRolePlayer.SetRolePlayer(DomainRole, DomainClass) 方法

定义

设置 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)

参数

element
DomainRole
newRolePlayer
DomainClass
属性

适用于