ListSortDescriptionCollection.IList.Remove(Object) 方法

定义

从集合中删除项的第一个匹配项。

 virtual void System.Collections.IList.Remove(System::Object ^ value) = System::Collections::IList::Remove;
void IList.Remove(object? value);
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

要从集合中移除的项。

实现

例外

在所有情况下。

注解

ListSortDescriptionCollection因为类实现System.Collections.IList接口,所以它必须有一个IList.Remove方法。 但是,由于 ListSortDescriptionCollection 类表示只读集合,因此从集合中删除项是无效的操作。

适用于