Bewerken

Share via


BindingList<T>.RemoveItem(Int32) Method

Definition

Removes the item at the specified index.

protected:
 override void RemoveItem(int index);
protected override void RemoveItem (int index);
override this.RemoveItem : int -> unit
Protected Overrides Sub RemoveItem (index As Integer)

Parameters

index
Int32

The zero-based index of the item to remove.

Exceptions

You are removing a newly added item and AllowRemove is set to false.

Remarks

This method raises the ListChanged event of type ItemDeleted.

Applies to

See also