CmdLineOptionParser.IsSimpleOption(String, String) メソッド

定義

指定したオプションの形式が正しいことを確認します。

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

public:
 static bool IsSimpleOption(System::String ^ option, System::String ^ prefix);
public static bool IsSimpleOption(string option, string prefix);
static member IsSimpleOption : string * string -> bool
Public Shared Function IsSimpleOption (option As String, prefix As String) As Boolean

パラメーター

option
String

ユーザーが指定したコマンド ライン オプション。

prefix
String

オプション名。

返品

true オプションの形式が正しい場合。それ以外の場合は false

適用対象