Bewerken

Delen via


SynchronizedCollection<T>.RemoveItem(Int32) Method

Definition

Removes an item at a specified index from the collection.

protected:
 virtual void RemoveItem(int index);
protected virtual void RemoveItem (int index);
abstract member RemoveItem : int -> unit
override this.RemoveItem : int -> unit
Protected Overridable Sub RemoveItem (index As Integer)

Parameters

index
Int32

The zero-based index of the element to be retrieved from the collection.

Exceptions

The index specified is less than zero or greater than the number of items in the collection.

Applies to