Редагувати

Поділитися через


SynchronizedReadOnlyCollection<T>.ICollection<T>.Remove(T) Method

Definition

Throws a NotSupportedException in all cases.

 virtual bool System.Collections.Generic.ICollection<T>.Remove(T value) = System::Collections::Generic::ICollection<T>::Remove;
bool ICollection<T>.Remove (T value);
abstract member System.Collections.Generic.ICollection<T>.Remove : 'T -> bool
override this.System.Collections.Generic.ICollection<T>.Remove : 'T -> bool
Function Remove (value As T) As Boolean Implements ICollection(Of T).Remove

Parameters

value
T

The value to be removed from the collection.

Returns

Always throws a NotSupportedException.

Implements

Exceptions

Items cannot be removed from a read-only collection.

Applies to