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

System.Xml.XmlDocument.Load Method

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

public virtual void Load (string filename)

Parameters

filename
A URI string to load as the document contents. [Edit]

Remarks

Creates an System.Xml.XmlReader instance from the argument URI string 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.

Note that there is no corresponding interface member in any of W3C Document Object Model specifications.

[Edit]

Requirements

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