다음을 통해 공유


XmlReadState Enumeration

 

Lists the valid values for the state of the IXmlReader.

Syntax

  
enum XmlReadState {  
    XmlReadState_Initial = 0,  
    XmlReadState_Interactive = 1,  
    XmlReadState_Error = 2,  
    XmlReadState_EndOfFile = 3,  
    XmlReadState_Closed = 4} ;  

Values

XmlReadState_Initial
The state the reader is in after the input to the reader has been initialized. For example, SetInput has been successfully called.

XmlReadState_Interactive
The state the reader is in during parsing. Typically, the reader enters this state after the first call to Read. The reader remains in this state until it reaches the end of the file, an unrecoverable error occurs, or the underlying stream is closed.

XmlReadState_Error
The state the reader is in when unrecoverable errors are encountered.

XmlReadState_EndOfFile
The state the reader is in when the end of file is reached.

XmlReadState_Closed
The state the reader is in when the underlying stream is closed. This is also the initial state the reader is in when the reader is created.

Requirements

Header: XmlLite.h

Library: XmlLite.lib

See Also

XmlReaderProperty_ReadState
Enumerated Types