ComboBox.AddItems
Method
Description:
Adds a new items to the ComboBox.
Adds a new items to the ComboBox.
Parameters
| Parameter | Type | Description |
|---|---|---|
| memberData | IList | An object list containing the data needed to construct the ComboBoxMember. |
Return Value
| Type | Description |
|---|---|
| IList | The newly added ComboBoxMembers. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown when memberData is. |
| ArgumentException | Thrown when button with memberData.Name already exists in the drop-down list. |