XmlReader.CreateSqlReader Method
Creates a new XmlReader instance using the specified stream, settings, and context information for parsing.
internal static XmlReader CreateSqlReader(Stream input,
XmlReaderSettings settings, XmlParserContext inputContext)
Parameters
input
Stream
The stream that contains the XML data.settings
XmlReaderSettings
The settings for the new XmlReader instance. This value can benull
.inputContext
XmlParserContext
The context information required to parse the XML fragment. This value can benull
.
Returns
XmlReader
An object that is used to read the XML data in the stream.
Remarks
Warning
The XmlReader.CreateSqlReader
method is internal and is not meant to be used directly in your code.
Microsoft does not support the use of this method in a production application under any circumstance.
Requirements
Namespace: System.Xml
Assembly: System.Xml.dll
.NET Framework versions: Available since 2.0.