Partage via


ParserExtensions.Parse(Parser, String) Méthode

Définition

Analyse une chaîne de ligne de commande.

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

Paramètres

parser
Parser
commandLine
String

Retours

Remarques

L’entrée de chaîne de ligne de commande est divisée en jetons comme si elle avait été passée sur la ligne de commande.

S’applique à