Array.IList.Remove(Object) 方法

定义

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

要从 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.

适用于