SynchronizedCollection<T>.IList.Remove(Object) Method

Definition

Removes the first occurrence of a specified object as an element from the collection.

 virtual void System.Collections.IList.Remove(System::Object ^ value) = System::Collections::IList::Remove;
void IList.Remove (object value);
Sub Remove (value As Object) Implements IList.Remove

Parameters

value
Object

The object to be removed from the collection.

Implements

Remarks

The elements in the collection that follow the removed element move up to occupy the vacated spot and their indices are updated accordingly.

Applies to