Bewerken

Delen via


ListCommandEventArgs Constructors

Definition

Initializes a new instance of the ListCommandEventArgs class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Overloads

ListCommandEventArgs(MobileListItem, Object)

Initializes a new instance of the ListCommandEventArgs class using the provided ListItem and CommandSource. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

ListCommandEventArgs(MobileListItem, Object, CommandEventArgs)

Initializes a new instance of the ListCommandEventArgs class using the given ListItem, CommandSource, and the original command arguments. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

ListCommandEventArgs(MobileListItem, Object)

Initializes a new instance of the ListCommandEventArgs class using the provided ListItem and CommandSource. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 ListCommandEventArgs(System::Web::UI::MobileControls::MobileListItem ^ item, System::Object ^ commandSource);
public ListCommandEventArgs (System.Web.UI.MobileControls.MobileListItem item, object commandSource);
new System.Web.UI.MobileControls.ListCommandEventArgs : System.Web.UI.MobileControls.MobileListItem * obj -> System.Web.UI.MobileControls.ListCommandEventArgs
Public Sub New (item As MobileListItem, commandSource As Object)

Parameters

item
MobileListItem

Initializes the ListItem property.

commandSource
Object

Initializes the CommandSource property.

Remarks

The item and commandSource parameters initialize the ListItem and CommandSource properties with their respective values.

See also

Applies to

ListCommandEventArgs(MobileListItem, Object, CommandEventArgs)

Initializes a new instance of the ListCommandEventArgs class using the given ListItem, CommandSource, and the original command arguments. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

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

Parameters

item
MobileListItem

Initializes the ListItem property.

commandSource
Object

Initializes the CommandSource property.

originalArgs
CommandEventArgs

The original arguments inherited from the CommandEventArgs object.

Remarks

This constructor builds a ListCommandEventArgs object.

The item and commandSource parameters initialize the ListItem and CommandSource properties with their respective values. This constructor includes an originalArgs parameter; this form of the constructor allows you to pass in a set of command arguments through the originalArgs parameter, which is useful for handling bubbled events.

See also

Applies to