ObjectListShowCommandsEventArgs.Commands 属性

定义

获取或设置 ObjectListCommandCollection 对象中的命令集合。 集合最初为空。 此 API 已废弃不用。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 移动应用 & 具有 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 中的命令集合。

注解

可以使用 类的 、AddAtRemoveRemoveAt 方法ObjectListCommandCollection在集合Add中添加或删除命令。 在事件期间,可以使用此属性访问和修改对象中 ObjectList 单个项的 ShowItemCommands 命令。 所做的更改不会影响为 ObjectList 对象指定的命令的基集合。

适用于

另请参阅