P_Cyjb_Collections_BitList_Capacity - CYJB/Cyjb GitHub Wiki

BitList.Capacity 属性

获取或设置 BitList 在不调整大小的情况下能够容纳的元素总数。

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

语法

C#

public int Capacity { get; set; }

属性值

Type: Int32
在需要调整大小之前 BitList 能够容纳的元素的数目。

Exceptions

 

异常 条件
ArgumentOutOfRangeException Capacity 设置为小于 Count 的值。

参见

Reference

BitList 类
Cyjb.Collections 命名空间

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