RoleHasRolePlayer.SetRolePlayer 方法

设置 RolePlayer。

命名空间:  Microsoft.VisualStudio.Modeling.DslDefinition
程序集:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll 中)

语法

声明
Public Shared Sub SetRolePlayer ( _
    element As DomainRole, _
    newRolePlayer As DomainClass _
)
public static void SetRolePlayer(
    DomainRole element,
    DomainClass newRolePlayer
)

参数

.NET Framework 安全性

请参阅

参考

RoleHasRolePlayer 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间