System.Web.UI.WebControls.CommandEventArgs.CommandName Property

Gets the name of the command.

Syntax

public string CommandName { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the CommandEventArgs.CommandName property to determine the command to perform. The CommandEventArgs.CommandName property can contain any string set by the programmer. The programmer can then identify the command name in code and perform the appropriate tasks.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0