Array.IList.Remove(Object) Array.IList.Remove(Object) Array.IList.Remove(Object) Method

定義

IList 移除特定物件之第一個符合的元素。Removes the first occurrence of a specific object from the IList.

 virtual void System.Collections.IList.Remove(System::Object ^ value) = System::Collections::IList::Remove;
void IList.Remove (object value);
Sub Remove (value As Object) Implements IList.Remove

參數

value
Object Object Object

要從 IList 移除的物件。The object to remove from the IList.

實作

例外狀況

IList 是唯讀的。The IList is read-only.

-或--or- IList 具有固定的大小。The IList has a fixed size.

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 Array 執行個體轉換成 IList 介面時,才能使用這個成員。It can be used only when the Array instance is cast to an IList interface.

適用於