M_Cyjb_Collections_BitList_IndexOf - CYJB/Cyjb GitHub Wiki

BitList.IndexOf 方法 (BitList, Int32)

返回首个可以匹配指定模式的索引。

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

语法

C#

public int IndexOf(
	BitList pattern,
	int startIndex = 0
)

参数

 

pattern
Type: Cyjb.Collections.BitList
要寻找的模式。
startIndex (Optional)
Type: System.Int32
搜索的起始索引。

返回值

Type: Int32
首个可以匹配指定模式的索引,如果不存在则为 -1

参见

Reference

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

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