SequenceReader<T>.TryPeek(T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.