SynchronizedReadOnlyCollection<T>.IList.Remove(Object) 方法

定義

從集合中擷取指定的項目。

 virtual void System.Collections.IList.Remove(System::Object ^ value) = System::Collections::IList::Remove;
void IList.Remove (object value);
abstract member System.Collections.IList.Remove : obj -> unit
override this.System.Collections.IList.Remove : obj -> unit
Sub Remove (value As Object) Implements IList.Remove

參數

value
Object

要從集合中擷取之項目的以零起始的索引。

實作

例外狀況

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

備註

如果呼叫,則會擲回 NotSupportedException

適用於