次の方法で共有


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

戻り値

注釈

コマンド ライン文字列入力は、コマンド ラインで渡されたかのようにトークンに分割されます。

適用対象