ReadState Enum


Specifies the state of the reader.

public enum class ReadState
public enum ReadState
type ReadState = 
Public Enum ReadState


Closed 4

The Close() method has been called.

EndOfFile 3

The end of the file has been reached successfully.

Error 2

An error occurred that prevents the read operation from continuing.

Initial 0

The Read method has not been called.

Interactive 1

The Read method has been called. Additional methods may be called on the reader.

Applies to