SynchronizedReadOnlyCollection<T>.ICollection<T>.Remove(T) 方法

定义

在所有情况下都引发一个 NotSupportedException

 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

参数

value
T

要从集合中删除的值。

返回

始终抛出一个 NotSupportedException

实现

例外

无法从只读集合中删除项。

适用于