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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.