ObjectListCommandEventArgs Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ObjectListCommandEventArgs class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
Overloads
ObjectListCommandEventArgs(ObjectListItem, String) |
Initializes a new instance of the ObjectListCommandEventArgs class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET. |
ObjectListCommandEventArgs(ObjectListItem, Object, CommandEventArgs) |
Initializes a new instance of the ObjectListCommandEventArgs class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET. |
ObjectListCommandEventArgs(ObjectListItem, String)
Initializes a new instance of the ObjectListCommandEventArgs class. This API is obsolete. 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)
Parameters
- item
- ObjectListItem
Initializes the ListItem property.
- commandName
- String
Initializes the CommandName property.
See also
Applies to
ObjectListCommandEventArgs(ObjectListItem, Object, CommandEventArgs)
Initializes a new instance of the ObjectListCommandEventArgs class. This API is obsolete. 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)
Parameters
- item
- ObjectListItem
Initializes the ListItem property.
- commandSource
- Object
Initializes the CommandSource property.
- originalArgs
- CommandEventArgs
The original arguments inherited from the CommandEventArgs object.
Remarks
The item and CommandSource parameters initialize the ListItem and CommandSource properties with their respective values. The originalArgs
parameter allows you to pass in a set of command arguments, which is useful for handling bubbled events.