XmlReader.Create Method (Stream)
Creates an XmlReader for parsing XML from the given stream.
Namespace: System.Xml
Assembly: System.Xml (in system.xml.dll)
Syntax
public static XmlReader Create (
Streaminput
)
Parameters
- input
The stream containing the XML data.
Return Value
An XmlReader object used to read the data contained in the stream.
Remarks
The XmlReader scans the first bytes of the stream looking for a byte order mark or other sign of encoding. When encoding is determined, the encoding is used to continue reading the stream, and processing continues parsing the input as a stream of (Unicode) characters.
Version Information
Available in the .NET Micro Framework versions 2.5, 3.0, 4.0, and 4.1.