Parser 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| Parser() | |
| Parser(CommandLineConfiguration) | |
| Parser(Symbol[]) |
Parser()
public:
Parser();
public Parser();
Public Sub New ()
適用於
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)
參數
- configuration
- CommandLineConfiguration
適用於
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())
參數
- symbols
- Symbol[]