Parameters
- strName
- name of the option
Return Value
Returns added Option.
Exception | Description |
---|---|
System.ArgumentNullException | Thrown when strName is null . |
System.ArgumentException | Thrown when strName is empty . |
System.ArgumentException | Thrown when Option with strName already exists in OptionGroup. |