SequenceReader<T>.AdvancePastAny 方法

定义

重载

AdvancePastAny(ReadOnlySpan<T>)

跳过具有任何指定 values 的连续实例。

AdvancePastAny(T, T)

向前跳过具有两个指定值之一的连续实例。

AdvancePastAny(T, T, T)

向前跳过具有三个指定值之一的连续实例。

AdvancePastAny(T, T, T, T)

向前跳过具有四个指定值之一的连续实例。

AdvancePastAny(ReadOnlySpan<T>)

Source:
SequenceReader.Search.cs
Source:
SequenceReader.Search.cs
Source:
SequenceReader.Search.cs

跳过具有任何指定 values 的连续实例。

public:
 long AdvancePastAny(ReadOnlySpan<T> values);
public long AdvancePastAny (ReadOnlySpan<T> values);
public long AdvancePastAny (scoped ReadOnlySpan<T> values);
member this.AdvancePastAny : ReadOnlySpan<'T (requires 'T : struct)> -> int64
Public Function AdvancePastAny (values As ReadOnlySpan(Of T)) As Long

参数

values
ReadOnlySpan<T>

要跳过的值。

返回

读取器前进的位置数。

适用于

AdvancePastAny(T, T)

Source:
SequenceReader.Search.cs
Source:
SequenceReader.Search.cs
Source:
SequenceReader.Search.cs

向前跳过具有两个指定值之一的连续实例。

public:
 long AdvancePastAny(T value0, T value1);
public long AdvancePastAny (T value0, T value1);
member this.AdvancePastAny : 'T * 'T -> int64
Public Function AdvancePastAny (value0 As T, value1 As T) As Long

参数

value0
T

要跳过的第一个值。

value1
T

要跳过的第二个值。

返回

读取器前进的位置数。

适用于

AdvancePastAny(T, T, T)

Source:
SequenceReader.Search.cs
Source:
SequenceReader.Search.cs
Source:
SequenceReader.Search.cs

向前跳过具有三个指定值之一的连续实例。

public:
 long AdvancePastAny(T value0, T value1, T value2);
public long AdvancePastAny (T value0, T value1, T value2);
member this.AdvancePastAny : 'T * 'T * 'T -> int64
Public Function AdvancePastAny (value0 As T, value1 As T, value2 As T) As Long

参数

value0
T

要跳过的第一个值。

value1
T

要跳过的第二个值。

value2
T

要跳过的第三个值。

返回

读取器前进的位置数。

适用于

AdvancePastAny(T, T, T, T)

Source:
SequenceReader.Search.cs
Source:
SequenceReader.Search.cs
Source:
SequenceReader.Search.cs

向前跳过具有四个指定值之一的连续实例。

public:
 long AdvancePastAny(T value0, T value1, T value2, T value3);
public long AdvancePastAny (T value0, T value1, T value2, T value3);
member this.AdvancePastAny : 'T * 'T * 'T * 'T -> int64
Public Function AdvancePastAny (value0 As T, value1 As T, value2 As T, value3 As T) As Long

参数

value0
T

要跳过的第一个值。

value1
T

要跳过的第二个值。

value2
T

要跳过的第三个值。

value3
T

要跳过的第四个值。

返回

读取器前进的位置数。

适用于