共用方式為


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 命名空間