ParserExtensions.Parse(Parser, String) Method
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 a command line string.
public:
[System::Runtime::CompilerServices::Extension]
static System::CommandLine::Parsing::ParseResult ^ Parse(System::CommandLine::Parsing::Parser ^ parser, System::String ^ commandLine);
public static System.CommandLine.Parsing.ParseResult Parse(this System.CommandLine.Parsing.Parser parser, string commandLine);
static member Parse : System.CommandLine.Parsing.Parser * string -> System.CommandLine.Parsing.ParseResult
<Extension()>
Public Function Parse (parser As Parser, commandLine As String) As ParseResult
Parameters
- parser
- Parser
- commandLine
- String
Returns
Remarks
The command line string input will be split into tokens as if it had been passed on the command line.
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.