Compartir a través de


ParserExtensions.Parse(Parser, String) Método

Definición

Analiza una cadena de línea de comandos.

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

Parámetros

parser
Parser
commandLine
String

Devoluciones

Comentarios

La entrada de la cadena de línea de comandos se dividirá en tokens como si se hubiera pasado en la línea de comandos.

Se aplica a