C # in a Nutshell, Second Edition

ReadState CF 1.0, ECMA 1.0, serializable

System.Xml (system.xml.dll) enum

This enumeration identifies the current state of an XmlReader instance: closed ( Closed ); not yet started ( Initial ); an error is preventing further reading within the document ( Error ); the read is in process ( Interactive ); or the end of file (or stream, or wherever the XML is coming from) has been reached ( EndOfFile ).

public enum ReadState { Initial = 0 , Interactive = 1 , Error = 2 , EndOfFile = 3 , Closed = 4 }

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable , System.IFormattable , System.IConvertible) ReadState

Returned By

XmlReader.ReadState

Категории