Represents a reader that provides fast, non-cached forward only access to XML data in an XmlNode .
For a list of all members of this type, see XmlNodeReader Members.
[Visual Basic] Public Class XmlNodeReader Inherits XmlReader [C#] public class XmlNodeReader : XmlReader [C++] public __gc class XmlNodeReader : public XmlReader [JScript] public class XmlNodeReader extends XmlReader
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
The XmlNodeReader has the ability to read an XML DOM subtree. This class does not support DTD or schema validation. To perform data validation, use the XmlValidatingReader.
To read strongly typed data, use the XmlConvert class. For example, the following C# code reads in data and converts it from a String to a Double.
Double price = XmlConvert.ToDouble(reader.Value);
For further discussion on the XmlReader classes, see Reading XML with the XmlReader.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework
Assembly: System.Xml (in System.Xml.dll)