Redigera

Dela via


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);
abstract member System.Collections.IList.Remove : obj -> unit
override this.System.Collections.IList.Remove : obj -> unit
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