共用方式為


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 安全性

請參閱

參考

RolePlayerPropertyDescriptor 類別

Microsoft.VisualStudio.Modeling.Design 命名空間