ParserExtensions.Parse(Parser, String) 方法

定义

分析命令行字符串。

public:
[System::Runtime::CompilerServices::Extension]
 static System::CommandLine::Parsing::ParseResult ^ Parse(System::CommandLine::Parsing::Parser ^ parser, System::String ^ commandLine);
public static System.CommandLine.Parsing.ParseResult Parse (this System.CommandLine.Parsing.Parser parser, string commandLine);
static member Parse : System.CommandLine.Parsing.Parser * string -> System.CommandLine.Parsing.ParseResult
<Extension()>
Public Function Parse (parser As Parser, commandLine As String) As ParseResult

参数

parser
Parser
commandLine
String

返回

注解

命令行字符串输入将拆分为标记,就像在命令行上传递一样。

适用于