DataListCommandEventArgs Constructor (DataListItem, Object, CommandEventArgs)
.NET Framework (current version)
Initializes a new instance of the DataListCommandEventArgs class.
Assembly: System.Web (in System.Web.dll)
Public Sub New ( item As DataListItem, commandSource As Object, originalArgs As CommandEventArgs )
Parameters
- item
-
Type:
System.Web.UI.WebControls.DataListItem
The selected item from the DataList.
- commandSource
-
Type:
System.Object
The source of the command.
- originalArgs
-
Type:
System.Web.UI.WebControls.CommandEventArgs
A CommandEventArgs that contains the original event data.
Use this constructor to create and initialize a new instance of the DataListCommandEventArgs class.
When an instance of DataListCommandEventArgs is created by a call to this constructor, the following properties are initialized to the specified values.
Property | Initial Value |
|---|---|
Item | The value of the item parameter. |
CommandSource | The value of the commandSource parameter. |
.NET Framework
Available since 1.1
Available since 1.1
Show: