DataGridViewComboBoxCell::ObjectCollection::Remove Method (Object^)
.NET Framework (current version)
Removes the specified object from the collection.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- value
-
Type:
System::Object^
An object representing the item to remove from the collection.
Implements
IList::Remove(Object^)| Exception | Condition |
|---|---|
| ArgumentException | The cell's DataSource property value is not null. |
| InvalidOperationException | The cell is in a shared row. |
If the value parameter is not in the collection, this method does nothing.
.NET Framework
Available since 2.0
Available since 2.0
Show: