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

實作

例外狀況

這些項目無法從唯讀的集合中移除。

適用於