Click or drag to resize

CommandLineParser Methods

The CommandLineParser type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetArgument
Gets a command line argument by name.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUsage
Gets command line usage help using the default options and no line wrapping.
Public methodGetUsage(Int32, WriteUsageOptions)
Gets command line usage help.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnArgumentParsed
Raises the ArgumentParsed event.
Public methodParse(String)
Parses the specified command line arguments.
Public methodParse(String, Int32)
Parses the specified command line arguments, starting at the specified index.
Public methodStatic memberParseT(String)
Parses the specified command line arguments into the specified type.
Public methodStatic memberParseT(String, ParseOptions)
Parses the specified command line arguments into the specified type.
Public methodStatic memberParseT(String, Int32, ParseOptions)
Parses the specified command line arguments, starting at the specified index, into the specified type.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWriteUsage(TextWriter, Int32)
Writes command line usage help to the specified TextWriter using the default options.
Public methodWriteUsage(TextWriter, Int32, WriteUsageOptions)
Writes command line usage help to the specified TextWriter using the specified options.
Public methodWriteUsageToConsole
Writes command line usage help to the standard output stream using the default options.
Public methodWriteUsageToConsole(WriteUsageOptions)
Writes command line usage help to the standard output stream using the specified options.
Top
See Also