语言

IListContract<T>.Remove(T) 方法

定义

从 IListContract<T> 指定类型的集合中删除项。

public:
 bool Remove(T item);
public bool Remove(T item);
abstract member Remove : 'T -> bool
Public Function Remove (item As T) As Boolean

参数

item
T

要从集合中移除的项。

返回

true 如果删除了项,则为否则,为 false.

注解

必须为集合中特定类型的每个对象重复此方法。

适用于