Click or drag to resize

CommandCollection Methods

The CommandCollection type exposes the following members.

Methods
  NameDescription
Public methodAdd
Adds an item to the collection.
Public methodAddCommandLineHandler
Adds a handler for a command line switch or parameter.
Public methodAddCommmandLineHandler Obsolete.
Adds a handler for a command line switch or parameter.
Public methodClear
Clears all Command items from the collection.
Public methodContains
Returns true if the specified Command is contained in the collection.
Public methodCreateCommand(CommandType, String)
Creates a new Command instance.
Public methodCreateCommand(CommandType, String, CommandEventHandler)
Creates a new Command instance.
Public methodCreateCommand(CommandType, String, Image, CommandEventHandler)
Creates a new Command instance.
Public methodExecuteCommand
Executes the specified Command.
Public methodExecuteCommandLineHandler(String, String)
Executes the specified command line handler.
Public methodExecuteCommandLineHandler(String, String)
Executes the specified command line handler.
Public methodGetEnumerator
Enumerates through the collection of Command items.
Public methodIndexOf
Returns the index of the specified Command item.
Public methodRemove
Removes the specified Command from the collection.
Public methodRemoveCommandLineHandler
Remove a command line handler.
Top
See Also