M_Cyjb_Collections_BitList_Resize - CYJB/Cyjb GitHub Wiki
将当前列表调整为指定的新大小。
Namespace: Cyjb.Collections
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6
C#
public BitList Resize(
int newCount,
bool defaultValue = false
)
- newCount
- Type: System.Int32
要调整到的大小。 - defaultValue (Optional)
- Type: System.Boolean
扩展列表大小时的默认值。
Type: BitList
调整后的当前列表。
| 异常 | 条件 |
|---|---|
| ArgumentOutOfRangeException | newCount 小于零。 |