public enum ReadState
Object
ValueType
Enum
ReadState
System.Xml
XML
Specifies the read state of an instance of a class derived from the XmlReader class.
When a reader is instantiated, the read state is set toInitial
. When the System.Xml.XmlReader.Read method is called, the read state is changed toInteractive
. If an error occurs during a read operation, the read state is changed toError
. When the end of the XML data is reached, the read state is set toEndOfFile
. When the System.Xml.XmlReader.Close method is called, the read state is set toClosed
.
System.Xml Namespace
ReadState Fields
ReadState.Closed Field
ReadState.EndOfFile Field
ReadState.Error Field
ReadState.Initial Field
ReadState.Interactive Field
ReadState.value__ Field
Closed = 4;
The System.Xml.XmlReader.Close method has been called.
System.Xml.ReadState Enum, System.Xml Namespace
EndOfFile = 3;
The end of the XML data has been reached.
System.Xml.ReadState Enum, System.Xml Namespace
Error = 2;
An error occurred that prevents the read operation from continuing.
System.Xml.ReadState Enum, System.Xml Namespace
Initial = 0;
The System.Xml.XmlReader.Read method has not been called.
System.Xml.ReadState Enum, System.Xml Namespace
Interactive = 1;
The System.Xml.XmlReader.Read method has been called. Additional methods can now be called on the reader.
System.Xml.ReadState Enum, System.Xml Namespace
value__;
System.Xml.ReadState Enum, System.Xml Namespace