CommandLineParseResult.IsOptionSet(String) Method

Definition

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.

Applies to