Editare

Partajați prin


ObservableCollection<T>.RemoveItem(Int32) Method

Definition

Removes the item at the specified index of the collection.

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 element to remove.

Remarks

The base class calls this method when an item is removed from the collection. This implementation raises the CollectionChanged event.

For more information, see the RemoveItem method of the Collection<T> base class.

Applies to