Επεξεργασία

Κοινή χρήση μέσω


DataGridViewComboBoxCell.ObjectCollection.RemoveAt(Int32) Method

Definition

Removes the object at the specified index.

public:
 virtual void RemoveAt(int index);
public void RemoveAt (int index);
abstract member RemoveAt : int -> unit
override this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)

Parameters

index
Int32

The zero-based index of the object to be removed.

Implements

Exceptions

index is less than 0 or greater than the number of items in the collection minus one.

The cell's DataSource property value is not null.

The cell is in a shared row.

Applies to

See also