DataGridViewComboBoxCell::ObjectCollection::AddRange Method (array<Object^>^)
.NET Framework (current version)
Adds one or more items to the list of items for a DataGridViewComboBoxCell.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Exception | Condition |
|---|---|
| ArgumentNullException | items is null. |
| InvalidOperationException | One or more of the items in the items array is null. |
| ArgumentException | The cell's DataSource property value is not null. |
| InvalidOperationException | The cell is in a shared row. |
.NET Framework
Available since 2.0
Available since 2.0
Show: