ObjectListCommandEventArgs 构造函数

定义

初始化 ObjectListCommandEventArgs 类的新实例。Initializes a new instance of the ObjectListCommandEventArgs class. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

重载

ObjectListCommandEventArgs(ObjectListItem, String)

初始化 ObjectListCommandEventArgs 类的新实例。Initializes a new instance of the ObjectListCommandEventArgs class. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

ObjectListCommandEventArgs(ObjectListItem, Object, CommandEventArgs)

初始化 ObjectListCommandEventArgs 类的新实例。Initializes a new instance of the ObjectListCommandEventArgs class. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

ObjectListCommandEventArgs(ObjectListItem, String)

初始化 ObjectListCommandEventArgs 类的新实例。Initializes a new instance of the ObjectListCommandEventArgs class. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 ObjectListCommandEventArgs(System::Web::UI::MobileControls::ObjectListItem ^ item, System::String ^ commandName);
public ObjectListCommandEventArgs (System.Web.UI.MobileControls.ObjectListItem item, string commandName);
new System.Web.UI.MobileControls.ObjectListCommandEventArgs : System.Web.UI.MobileControls.ObjectListItem * string -> System.Web.UI.MobileControls.ObjectListCommandEventArgs
Public Sub New (item As ObjectListItem, commandName As String)

参数

item
ObjectListItem

初始化 ListItem 属性。Initializes the ListItem property.

commandName
String

初始化 CommandName 属性。Initializes the CommandName property.

另请参阅

适用于

ObjectListCommandEventArgs(ObjectListItem, Object, CommandEventArgs)

初始化 ObjectListCommandEventArgs 类的新实例。Initializes a new instance of the ObjectListCommandEventArgs class. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 ObjectListCommandEventArgs(System::Web::UI::MobileControls::ObjectListItem ^ item, System::Object ^ commandSource, System::Web::UI::WebControls::CommandEventArgs ^ originalArgs);
public ObjectListCommandEventArgs (System.Web.UI.MobileControls.ObjectListItem item, object commandSource, System.Web.UI.WebControls.CommandEventArgs originalArgs);
new System.Web.UI.MobileControls.ObjectListCommandEventArgs : System.Web.UI.MobileControls.ObjectListItem * obj * System.Web.UI.WebControls.CommandEventArgs -> System.Web.UI.MobileControls.ObjectListCommandEventArgs
Public Sub New (item As ObjectListItem, commandSource As Object, originalArgs As CommandEventArgs)

参数

item
ObjectListItem

初始化 ListItem 属性。Initializes the ListItem property.

commandSource
Object

初始化 CommandSource 属性。Initializes the CommandSource property.

originalArgs
CommandEventArgs

继承自 CommandEventArgs 对象的原始参数。The original arguments inherited from the CommandEventArgs object.

注解

项和 CommandSource 参数 ListItem 用各自的值初始化和 CommandSource 属性。The item and CommandSource parameters initialize the ListItem and CommandSource properties with their respective values. originalArgs参数允许传入一组命令参数,这对处理冒泡事件很有用。The originalArgs parameter allows you to pass in a set of command arguments, which is useful for handling bubbled events.

另请参阅

适用于