Gets the unique name of the command.
Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property Name As String |
C# | |
---|---|
public string Name {get;} |
Return Value
A string that represents the name of the command.The string represents name for the command.
The command name is automatically generated using the format: CommandType_Index.
A command name can be used when locating a command in the CommandCollection, and can also be used with event handlers.
The command name is automatic generated in format CommandType_Index. The command name can be used for locating a command into CommandCollection as well as recognizing in event handlers.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family