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