RoleHasRolePlayer.SetRolePlayer(DomainRole, DomainClass) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置 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
- 属性