M_Cyjb_Collections_CharSet_Remove_1 - CYJB/Cyjb GitHub Wiki
从当前集合中移除指定字符范围。
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。
| 异常 | 条件 |
|---|---|
| ArgumentOutOfRangeException | 字符范围的起始大于结束。 |