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

定义

在所有情况下均引发 NotSupportedExceptionThrows 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);
Function Remove (value As T) As Boolean Implements ICollection(Of T).Remove

参数

value
T T T

要从集合中移除的值。The value to be removed from the collection.

返回

实现

异常

不能移除只读集合中的项。Items cannot be removed from a read-only collection.

适用于