ObjectListShowCommandsEventArgs.Commands 屬性

定義

取得或設定物件中的 ObjectListCommandCollection 指令集合。 起初,收藏是空的。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

public:
 property System::Web::UI::MobileControls::ObjectListCommandCollection ^ Commands { System::Web::UI::MobileControls::ObjectListCommandCollection ^ get(); };
public System.Web.UI.MobileControls.ObjectListCommandCollection Commands { get; }
member this.Commands : System.Web.UI.MobileControls.ObjectListCommandCollection
Public ReadOnly Property Commands As ObjectListCommandCollection

屬性值

指令集合在 ObjectListCommandCollection.

備註

你可以透過類別Add中的 ObjectListCommandCollectionAddAtRemoveRemoveAt 方法來新增或移除集合中的指令。 你可以利用這個屬性在事件期間ShowItemCommands存取並修改物件中ObjectList單一物件的指令。 所做的變更不會影響物件 ObjectList 指定的指令基礎集合。

適用於

另請參閱