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
)
參數
- newRolePlayer
類型:Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。