CmdLineOptionParser.IsSimpleOption(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.