CommandExtensions.Parse 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.
Overloads
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
Parameters
- command
- Command
- args
- String[]
Returns
Applies to
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
Parameters
- command
- Command
- commandLine
- String
- delimiters
- IReadOnlyCollection<Char>