ReadState 枚举

定义

指定读取器的状态。Specifies the state of the reader.

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

字段

Closed 4

已调用 Close() 方法。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

未调用 Read 方法。The Read method has not been called.

Interactive 1

已调用 Read 方法。The Read method has been called. 可能对读取器调用了其他方法。Additional methods may be called on the reader.

适用于