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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.