Parser Constructors
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.
Overloads
| Name | Description |
|---|---|
| Parser() | |
| Parser(CommandLineConfiguration) | |
| Parser(Symbol[]) |
Parser()
public:
Parser();
public Parser();
Public Sub New ()
Applies to
Parser(CommandLineConfiguration)
public:
Parser(System::CommandLine::CommandLineConfiguration ^ configuration);
public Parser(System.CommandLine.CommandLineConfiguration configuration);
new System.CommandLine.Parser : System.CommandLine.CommandLineConfiguration -> System.CommandLine.Parser
Public Sub New (configuration As CommandLineConfiguration)
Parameters
- configuration
- CommandLineConfiguration
Applies to
Parser(Symbol[])
public:
Parser(... cli::array <System::CommandLine::Symbol ^> ^ symbols);
public Parser(params System.CommandLine.Symbol[] symbols);
new System.CommandLine.Parser : System.CommandLine.Symbol[] -> System.CommandLine.Parser
Public Sub New (ParamArray symbols As Symbol())
Parameters
- symbols
- Symbol[]