Mono Class Library: System.Xml.XmlDocument Overview | Members

System.Xml.XmlDocument.Load Method

Read the argument System.IO.TextReader as XML document and loads it as content nodes. [Edit]

public virtual void Load (System.IO.TextReader txtReader)

Parameters

txtReader
A System.IO.TextReader object to be loaded. [Edit]

Remarks

Creates an System.Xml.XmlReader instance from the argument System.IO.TextReader and loads it as contents of this document. It internally creates an System.Xml.XmlReader instance and invokes XmlDocument.Load(XmlReader).

This method does not validate the input document.

[Edit]

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0