CommandEventArgs Constructor (CommandEventArgs^)
.NET Framework (current version)
Initializes a new instance of the CommandEventArgs class with another CommandEventArgs object.
Assembly: System.Web (in System.Web.dll)
Parameters
- e
-
Type:
System.Web.UI.WebControls::CommandEventArgs^
A CommandEventArgs that contains the event data.
Use this constructor to create and initialize a new instance of the CommandEventArgs class using the specified CommandEventArgs object.
When an instance of CommandEventArgs is created by a call to this constructor, the following properties are initialized to the specified values.
Property | Initial Value |
|---|---|
CommandName | The e.CommandName parameter. |
CommandArgument | The e.CommandArgument parameter. |
The following example demonstrates how to create and initialize a new instance of the CommandEventArgs class using the specified CommandEventArgs object.
.NET Framework
Available since 1.1
Available since 1.1
Show: