M_Cyjb_Collections_CharSet_AddIgnoreCase - CYJB/Cyjb GitHub Wiki
将指定字符范围及其相应的大/小写字母添加到当前集合中。
Namespace: Cyjb.Collections
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6
C#
public bool AddIgnoreCase(
char start,
char end,
CultureInfo? culture = null
)
- start
- Type: System.Char
要添加到当前集合的字符范围起始(包含)。 - end
- Type: System.Char
要添加到当前集合的字符范围结束(包含)。 - culture (Optional)
- Type: System.Globalization.CultureInfo
大小写转换使用的区域信息。
Type: Boolean
如果该字符范围内的任何大/小写字符已添加到集合内,则为 true; 如果该字符范围已全部在集合内,则为 false。
| 异常 | 条件 |
|---|---|
| ArgumentOutOfRangeException | 字符范围的起始大于结束。 |