Share via


XmlReader.Create Method (Stream, XmlReaderSettings)

Creates a new XmlReader instance with the specified stream and XmlReaderSettings object.

Namespace: System.Xml
Assembly: System.Xml (in system.xml.dll)

Syntax

public static XmlReader Create (
         Streaminput,
         XmlReaderSettingssettings
)

Parameters

  • input
    The stream containing the XML data.
  • settings
    The XmlReaderSettings object used to configure the new XmlReader instance. This value can be a null reference.

Return Value

An XmlReaderobject to read the XML data.

Version Information

Available in the .NET Micro Framework versions 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

XmlReader Class
XmlReader Members
System.Xml Namespace