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

Definition

Removes the first occurrence of a specific object from the IList. This implementation always throws NotSupportedException.

 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 remove from the IList.

Implements

Exceptions

Always thrown.

Remarks

This member is an explicit interface member implementation. It can be used only when the ReadOnlyCollection<T> instance is cast to an IList interface.

Applies to