SequenceReader<T>.TryRead(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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.