CommandExtensions.Parse Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
| Nombre | Description |
|---|---|
| Parse(Command, String[]) | |
| Parse(Command, String, IReadOnlyCollection<Char>) |
Parse(Command, String[])
- Source:
- CommandExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
static System::CommandLine::ParseResult ^ Parse(System::CommandLine::Command ^ command, ... cli::array <System::String ^> ^ args);
public static System.CommandLine.ParseResult Parse(this System.CommandLine.Command command, params string[] args);
static member Parse : System.CommandLine.Command * string[] -> System.CommandLine.ParseResult
<Extension()>
Public Function Parse (command As Command, ParamArray args As String()) As ParseResult
Parámetros
- command
- Command
- args
- String[]
Devoluciones
Se aplica a
Parse(Command, String, IReadOnlyCollection<Char>)
public static System.CommandLine.ParseResult Parse(this System.CommandLine.Command command, string commandLine, System.Collections.Generic.IReadOnlyCollection<char> delimiters = default);
static member Parse : System.CommandLine.Command * string * System.Collections.Generic.IReadOnlyCollection<char> -> System.CommandLine.ParseResult
<Extension()>
Public Function Parse (command As Command, commandLine As String, Optional delimiters As IReadOnlyCollection(Of Char) = Nothing) As ParseResult
Parámetros
- command
- Command
- commandLine
- String
- delimiters
- IReadOnlyCollection<Char>