SynchronizedReadOnlyCollection<T>.ICollection<T>.Remove(T) 方法
定义
在所有情况下均引发 NotSupportedException。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
参数
- value
- T
要从集合中移除的值。The value to be removed from the collection.
返回
总是引发 NotSupportedException。Always throws a NotSupportedException.
实现
例外
不能移除只读集合中的项。Items cannot be removed from a read-only collection.