获取表示在用户选择特定项目时用于指定角色扮演者实例的回调命令的 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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。