Rediger

Del via


CmdLineOptionParser.IsSimpleOption(String, String) Method

Definition

Verifies that the specified option is correctly formed.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Parameters

option
String

The command-line option that the user specified.

prefix
String

The option name.

Returns

true if the option is correctly formed; otherwise, false.

Applies to