M_Cyjb_Collections_BitList__ctor_6 - CYJB/Cyjb GitHub Wiki
初始化 BitList 类的新实例,该实例包含指定数目的位值,并设定为指定的初始值。
Namespace: Cyjb.Collections
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6
C#
public BitList(
int length,
bool defaultValue
)
- length
- Type: System.Int32
新 BitList 中的位值数目。 - defaultValue
- Type: System.Boolean
要分配给每个位值的布尔值。
异常 | 条件 |
---|---|
ArgumentOutOfRangeException |
length 小于 0 。 |