This documentation is archived and is not being maintained.
DataListCommandEventArgs Constructor
.NET Framework 1.1
Initializes a new instance of the DataListCommandEventArgs class.
[Visual Basic] Public Sub New( _ ByVal item As DataListItem, _ ByVal commandSource As Object, _ ByVal originalArgs As CommandEventArgs _ ) [C#] public DataListCommandEventArgs( DataListItem item, object commandSource, CommandEventArgs originalArgs ); [C++] public: DataListCommandEventArgs( DataListItem* item, Object* commandSource, CommandEventArgs* originalArgs ); [JScript] public function DataListCommandEventArgs( item : DataListItem, commandSource : Object, originalArgs : CommandEventArgs );
Parameters
- item
- The selected item from the DataList.
- commandSource
- The source of the command.
- originalArgs
- A CommandEventArgs that contains the original event data.
Remarks
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. |
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
DataListCommandEventArgs Class | DataListCommandEventArgs Members | System.Web.UI.WebControls Namespace
Show: