RolePlayerPropertyDescriptor.RolePlayerMenuCommands 屬性
取得 RolePlayerMenuCommand 物件的集合,這些物件表示在使用者選取特定的項目時用來指定角色扮演者執行個體的回呼命令。
命名空間: Microsoft.VisualStudio.Modeling.Design
組件: Microsoft.VisualStudio.Modeling.Sdk.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.12.0.dll 中)
語法
'宣告
Public ReadOnly Property RolePlayerMenuCommands As Collection(Of RolePlayerMenuCommand)
public Collection<RolePlayerMenuCommand> RolePlayerMenuCommands { get; }
屬性值
類型:System.Collections.ObjectModel.Collection<RolePlayerMenuCommand>
RolePlayerMenuCommand 物件的集合,這些物件表示在使用者選取特定的項目時用來指定角色扮演者執行個體的回呼命令。
備註
根據預設,這個屬性永遠會傳回空集合。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。