Parameters
- strName
- name of the option
Return Value
Returns added Option.
| Exception | Description | 
|---|---|
| System.ArgumentNullException | Thrown when strNameisnull. | 
| System.ArgumentException | Thrown when strNameisempty. | 
| System.ArgumentException | Thrown when OptionwithstrNamealready exists in OptionGroup. |