ReadState Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Specifies the state of the reader.

Namespace:  System.Xml
Assembly:  System.Xml (in System.Xml.dll)

Syntax

'Declaration
Public Enumeration ReadState
public enum ReadState

Members

Member name Description
Supported by Silverlight for Windows PhoneSupported by Xbox 360 Initial The Read method has not been called.
Supported by Silverlight for Windows PhoneSupported by Xbox 360 Interactive The Read method has been called. Additional methods may be called on the reader.
Supported by Silverlight for Windows PhoneSupported by Xbox 360 Error An error occurred that prevents the read operation from continuing.
Supported by Silverlight for Windows PhoneSupported by Xbox 360 EndOfFile The end of the file has been reached successfully.
Supported by Silverlight for Windows PhoneSupported by Xbox 360 Closed The Close method has been called.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference