CmdLineOptionParser.IsSimpleOption(String, String) Methode

Definitie

Controleert of de opgegeven optie juist is gevormd.

Deze API ondersteunt de productinfrastructuur en is niet bedoeld om rechtstreeks vanuit de code te gebruiken.

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

De opdrachtregeloptie die de gebruiker heeft opgegeven.

prefix
String

De naam van de optie.

Retouren

true indien de optie juist is gevormd; anders, false.

Van toepassing op