通过


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命令的集合。

注解

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

适用于

另请参阅