Method TrySelectOption
- Namespace
- Skyline.DataMiner.Utils.InteractiveAutomationScript
- Assembly
- Skyline.DataMiner.Utils.InteractiveAutomationScriptToolkit.dll
TrySelectOption(string)
Attempts to select the specified option. If the option does not exist in the collection, the selection remains unchanged.
public bool TrySelectOption(string option)
Parameters
optionstringThe option to select.
Returns
- bool
trueif the option was found and selected; otherwise,false.
Exceptions
- ArgumentNullException
When option is null.