M_Cyjb_Collections_CharSet_Remove_1 - CYJB/Cyjb GitHub Wiki

CharSet.Remove 方法 (Char, Char)

从当前集合中移除指定字符范围。

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

语法

C#

public bool Remove(
	char start,
	char end
)

参数

 

start
Type: System.Char
要从当前集合中移除的字符范围起始(包含)。
end
Type: System.Char
要从当前集合中移除的字符范围结束(包含)。

返回值

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

Exceptions

 

异常 条件
ArgumentOutOfRangeException 字符范围的起始大于结束。

参见

Reference

CharSet 类
Remove 重载
Cyjb.Collections 命名空间

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