Brecham.Obex — An OBEX library for the .NET Framework

ObexXmlUtilities.CreateXmlReader Method (TextReader)

Creates a new System.Xml.XmlReader instance using the specified System.IO.TextReader, configured with the XmlReaderSettings and XmlResolver required by the local parsers.

[Visual Basic]
Overloads Public Shared Function CreateXmlReader( _
   ByVal input As TextReader _
) As XmlReader
[C#]
public static XmlReader CreateXmlReader(
   TextReader input
);

Parameters

input
The System.IO.TextReader from which to read the XML data. Because a System.IO.TextReader returns a stream of Unicode characters, he encoding specified in the XML declaration is not used by the System.Xml.XmlReader to decode the data stream

Return Value

An System.Xml.XmlReader object used to read the data contained in the stream

See Also

ObexXmlUtilities Class | Brecham.Obex.Objects Namespace | ObexXmlUtilities.CreateXmlReader Overload List