CommandExtensions.Parse Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| Name | Beschreibung |
|---|---|
| Parse(Command, String[]) | |
| Parse(Command, String, IReadOnlyCollection<Char>) |
Parse(Command, String[])
- Quelle:
- 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
Parameter
- command
- Command
- args
- String[]
Gibt zurück
Gilt für:
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
Parameter
- command
- Command
- commandLine
- String
- delimiters
- IReadOnlyCollection<Char>