Skip to content

M_Cyjb_Text_TokenCollection_1_Remove

CYJB edited this page Mar 23, 2024 · 7 revisions

TokenCollection(T).Remove 方法

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

Namespace: Cyjb.Text
Assembly: Cyjb.Compilers.Runtime (in Cyjb.Compilers.Runtime.dll) Version: 1.0.20+d347ea0351607fb282fdf60a5301f9cccb3ab27e

语法

C#

public override bool Remove(
	Token<T> item
)

参数

 

item
Type: Cyjb.Text.Token(T)
要从当前集合中移除的对象。

返回值

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

实现

ICollection(T).Remove(T)

参见

Reference

TokenCollection(T) 类
Cyjb.Text 命名空间

Clone this wiki locally