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

Definition

Kastar en NotSupportedException i alla fall.

 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

Parametrar

value
T

Värdet som ska tas bort från samlingen.

Returer

Kastar alltid en NotSupportedException.

Implementeringar

Undantag

Det går inte att ta bort objekt från en skrivskyddad samling.

Gäller för