Share via


SequenceReader<T>.IsNext 메서드

정의

오버로드

IsNext(ReadOnlySpan<T>, Boolean)

읽기 전용 범위에 지정된 값이 시퀀스의 다음인지 확인합니다.

IsNext(T, Boolean)

지정된 값이 시퀀스의 다음인지 여부를 확인합니다.

IsNext(ReadOnlySpan<T>, Boolean)

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

읽기 전용 범위에 지정된 값이 시퀀스의 다음인지 확인합니다.

public bool IsNext (ReadOnlySpan<T> next, bool advancePast = false);
public bool IsNext (scoped ReadOnlySpan<T> next, bool advancePast = false);
member this.IsNext : ReadOnlySpan<'T (requires 'T : struct)> * bool -> bool
Public Function IsNext (next As ReadOnlySpan(Of T), Optional advancePast As Boolean = false) As Boolean

매개 변수

next
ReadOnlySpan<T>

다음 항목을 비교하는 범위입니다.

advancePast
Boolean

발견되는 경우 next 값을 지나서 이동하려면 true이고, 그렇지 않으면 false입니다.

반환

값이 시퀀스의 다음에 있으면 true이고, 그렇지 않으면 false입니다.

적용 대상

IsNext(T, Boolean)

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

지정된 값이 시퀀스의 다음인지 여부를 확인합니다.

public bool IsNext (T next, bool advancePast = false);
member this.IsNext : 'T * bool -> bool
Public Function IsNext (next As T, Optional advancePast As Boolean = false) As Boolean

매개 변수

next
T

다음 항목을 비교할 값입니다.

advancePast
Boolean

발견되는 경우 next 값을 지나서 이동하려면 true이고, 그렇지 않으면 false입니다.

반환

값이 시퀀스의 다음에 있으면 true이고, 그렇지 않으면 false입니다.

적용 대상