DataGridViewComboBoxCell::ObjectCollection::RemoveAt Method (Int32)
.NET Framework (current version)
Removes the object at the specified index.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- index
-
Type:
System::Int32
The zero-based index of the object to be removed.
Implements
IList::RemoveAt(Int32)| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | index is less than 0 or greater than the number of items in the collection minus one. |
| 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: