CommandLineParser Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Parses command line input.
public ref class CommandLineParser abstract sealed
public ref class CommandLineParser : System::CommandLine::Parser
public static class CommandLineParser
public class CommandLineParser : System.CommandLine.Parser
type CommandLineParser = class
type CommandLineParser = class
inherit Parser
Public Class CommandLineParser
Public Class CommandLineParser
Inherits Parser
- Inheritance
-
CommandLineParser
- Inheritance
Constructors
| Name | Description |
|---|---|
| CommandLineParser(CommandLineConfiguration) | |
Methods
| Name | Description |
|---|---|
| Parse(Command, IReadOnlyList<String>, ParserConfiguration) |
Parses a list of arguments. |
| Parse(Command, String, ParserConfiguration) |
Parses a command line string. |
| Parse(IReadOnlyList<String>, String) | |
| SplitCommandLine(String) |
Splits a string into a sequence of strings based on whitespace and quotation marks. |