SequenceReader<T>.TryPeek(T) Method

Definition

Peeks at the next value without advancing the reader.

public:
 bool TryPeek([Runtime::InteropServices::Out] T % value);
public readonly bool TryPeek(out T value);
member this.TryPeek : 'T -> bool
Public Function TryPeek (ByRef value As T) As Boolean

Parameters

value
T

The next value, or the default value if at the end of the reader.

Returns

true if the reader is not at its end and the peek operation succeeded; false if at the end of the reader.

Applies to