Command |
The CommandCollection type exposes the following members.
| Name | Description | |
|---|---|---|
| Count | Count of Command items in the collection. | |
| Item | Get; Returns the Command item at the specified index. |
| Name | Description | |
|---|---|---|
| Add | Adds an item to the collection. | |
| AddCommandLineHandler | Adds a handler for a command line switch or parameter. | |
| AddCommmandLineHandler |
Adds a handler for a command line switch or parameter.
Obsolete | |
| Clear | Clears all Command items from the collection. | |
| Contains | Returns true if the specified Command is contained in the collection. | |
| CreateCommand(CommandType, String) | Creates a new Command instance. | |
| CreateCommand(CommandType, String, CommandEventHandler) | Creates a new Command instance. | |
| CreateCommand(CommandType, String, Image, CommandEventHandler) | Creates a new Command instance. | |
| ExecuteCommand | Executes the specified Command. | |
| ExecuteCommandLineHandler(String, String) | Executes the specified command line handler. | |
| ExecuteCommandLineHandler(String, String) | Executes the specified command line handler. | |
| GetEnumerator | Enumerates through the collection of Command items. | |
| IndexOf | Returns the index of the specified Command item. | |
| Remove | Removes the specified Command from the collection. | |
| RemoveCommandLineHandler | Remove a command line handler. |