CommandLineParseResult.IsOptionSet(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.
Determines if the specified option is set.
public bool IsOptionSet(string optionName);
member this.IsOptionSet : string -> bool
Public Function IsOptionSet (optionName As String) As Boolean
Parameters
- optionName
- String
The name of the option.
Returns
Returns true if the option is set; false otherwise.