M_Cyjb_Collections_BitList_IndexOf - CYJB/Cyjb GitHub Wiki
返回首个可以匹配指定模式的索引。
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
。