Click or drag to resize

CommandLineType Methods

The CommandLineType type exposes the following members.

Methods
  NameDescription
Public methodAddCommand
Add a command to the command line, auto-setting it's owner to this.
Protected methodAddHistory
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecCommand
Allows processing of a command manually from your code without calling the CommandLineType.Execute() method.
Public methodExecDosCommand
Tage arguments passed in from the OS console command and process them.
Public methodExecute
For a Console app, this initiates the command line. Call this and it handles everything until the user enters the exit command.
Protected methodFinalize (Overrides ObjectFinalize.)
Public methodGetCommand
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPrintCommands
Pump the formatted help text from all the commands and parameters through the output TextWriter.
Public methodRemoveCommand
Removes a command from the command list.
Public methodResetOutputStream
Restore the output stream to what it was.
Public methodSetExitCommand
Overrides the built in Exit command with your own.
Public methodSetHelpCommand
Overrites the built in help command with your own.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also