DataGridViewComboBoxCell.ObjectCollection.Remove(Object) Method

Definition

Removes the specified object from the collection.

public:
 virtual void Remove(System::Object ^ value);
public void Remove (object value);
public void Remove (object? value);
abstract member Remove : obj -> unit
override this.Remove : obj -> unit
Public Sub Remove (value As Object)

Parameters

value
Object

An object representing the item to remove from the collection.

Implements

Exceptions

The cell's DataSource property value is not null.

The cell is in a shared row.

Remarks

If the value parameter is not in the collection, this method does nothing.

Applies to

See also