CommandExtensions.Parse 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
参数
- 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>