CommandExtensions.Parse 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Parse(Command, String[])
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
參數
- command
- Command
- args
- String[]
傳回
適用於
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
參數
- command
- Command
- commandLine
- String
- delimiters
- IReadOnlyCollection<Char>