M_Cyjb_Collections_ObjectModel_ListBase_1_Remove - CYJB/Cyjb GitHub Wiki

ListBase(T).Remove 方法

从当前列表中移除特定对象的第一个匹配项。

Namespace: Cyjb.Collections.ObjectModel
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6

语法

C#

public override bool Remove(
	T item
)

参数

 

item
Type: T
要从当前列表中移除的对象。

返回值

Type: Boolean
如果已从当前列表中成功移除 item,则为 true;否则为 false。 如果在原始列表中没有找到 item,该方法也会返回 false

实现

ICollection(T).Remove(T)
ICollection(T).Remove(T)

参见

Reference

ListBase(T) 类
Cyjb.Collections.ObjectModel 命名空间

⚠️ **GitHub.com Fallback** ⚠️