Parameters
- strName
- name of the option
Return Value
Returns added Option.
Project.| 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 Project. |
Option straight to the Project, Option is not assigned to any OptionGroup. Option name must be unique in the set of Options that are not assigned to any OptionGroup.