ObjectListShowCommandsEventArgs 构造函数

定义

初始化 ObjectListShowCommandsEventArgs 类的新实例。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

public:
 ObjectListShowCommandsEventArgs(System::Web::UI::MobileControls::ObjectListItem ^ item, System::Web::UI::MobileControls::ObjectListCommandCollection ^ commands);
public ObjectListShowCommandsEventArgs(System.Web.UI.MobileControls.ObjectListItem item, System.Web.UI.MobileControls.ObjectListCommandCollection commands);
new System.Web.UI.MobileControls.ObjectListShowCommandsEventArgs : System.Web.UI.MobileControls.ObjectListItem * System.Web.UI.MobileControls.ObjectListCommandCollection -> System.Web.UI.MobileControls.ObjectListShowCommandsEventArgs
Public Sub New (item As ObjectListItem, commands As ObjectListCommandCollection)

参数

item
ObjectListItem

初始化 ListItem 属性。

commands
ObjectListCommandCollection

初始化 Commands 属性。

注解

构造一个新ObjectListShowCommandsEventArgs对象,并ListItem分别使用参数的值item初始化和Commandscommands属性。

适用于

另请参阅