asp.net.ph

CommandEventArgs Constructor ( String, Object )

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
);

Parameters

commandName
The name of the command.
argument
A System.Object that contains the arguments for the command.

Remarks

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

See Also

CommandEventArgs Members   CommandEventArgs Constructor Overload List Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph