System.Web.UI.WebControls Namespace CommandEventArgs Class
Initializes a new instance of the CommandEventArgs class with the specified command name and argument.
[ VB ]
Overloads Public Sub New ( _
ByVal commandName As String, _
ByVal argument As Object _
)
[ C# ]
public CommandEventArgs (
string commandName,
object argument
);
[ C++ ]
public: CommandEventArgs (
String* commandName,
Object* argument
);
[ JScript ]
public function CommandEventArgs (
commandName : String,
argument : Object
);
- commandName
- The name of the command.
- argument
- A System.Object that contains the arguments for the command.
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 |
commandName |
CommandArgument |
argument |
CommandEventArgs Members CommandEventArgs Constructor Overload List