C#/XAML for HTML5 Documentation
C#/XAML for HTML5 Documentation
Reference
System.Xml
XmlReader Class
XmlReader Methods
Create Method
Create Method (Stream)
Create Method (String)
Create Method (TextReader)
Create Method (Stream, XmlReaderSettings)
Create Method (String, XmlReaderSettings)
Create Method (TextReader, XmlReaderSettings)
Create Method (XmlReader, XmlReaderSettings)
Create Method (Stream, XmlReaderSettings, String)
Create Method (Stream, XmlReaderSettings, XmlParserContext)
Create Method (String, XmlReaderSettings, XmlParserContext)
Create Method (TextReader, XmlReaderSettings, String)
Create Method (TextReader, XmlReaderSettings, XmlParserContext)
XmlReader
Create Method (TextReader, XmlReaderSettings)
Creates a new
XmlReader
instance using the specified
TextReader
and
XmlReaderSettings
objects.
Namespace:
System.Xml
Assembly:
CSharpXamlForHtml5.System.Xml.dll (in CSharpXamlForHtml5.System.Xml.dll.dll) Version: 1.0.0.0
Syntax
C#
Copy
public
static
XmlReader
Create
(
TextReader
input
,
XmlReaderSettings
settings
)
Parameters
input
Type:
System.IO
TextReader
The
TextReader
from which to read the XML data. Because a
TextReader
returns a stream of Unicode characters, the encoding specified in the XML declaration is not used by the
XmlReader
to decode the data stream
settings
Type:
System.Xml
XmlReaderSettings
The
XmlReaderSettings
object used to configure the new
XmlReader
. This value can be null.
Return Value
Type:
XmlReader
An
XmlReader
object to read XML data.
Exceptions
Exception
Condition
ArgumentNullException
The
input
value is null.
See Also
Reference
XmlReader Class
Create Overload
System.Xml Namespace