Skip to content

M_Cyjb_Collections_BitList_InsertRange_4

CYJB edited this page Mar 20, 2024 · 13 revisions

BitList.InsertRange 方法 (Int32, Int32, Boolean)

将指定长度的值插入 BitList 的指定索引处。

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

语法

C#

public BitList InsertRange(
	int index,
	int length,
	bool value
)

参数

 

index
Type: System.Int32
应在此处插入值的从零开始的索引。
length
Type: System.Int32
要插入的值的长度。
value
Type: System.Boolean
要插入的值。

返回值

Type: BitList
当前 BitList 集合。

Exceptions

 

异常 条件
ArgumentOutOfRangeException index 小于 0
ArgumentOutOfRangeException length 小于 0
ArgumentOutOfRangeException index 大于 Count

参见

Reference

BitList 类
InsertRange 重载
Cyjb.Collections 命名空间

Clone this wiki locally