ערוך

שתף באמצעות


SequenceReader<T>.TryRead(T) Method

Definition

Reads the next value and advance the reader.

public:
 bool TryRead([Runtime::InteropServices::Out] T % value);
public bool TryRead (out T value);
member this.TryRead : 'T -> bool
Public Function TryRead (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 read operation succeeded; false if at the end of the reader.

Applies to