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

System.Xml.XmlDocument.Load Method

Loads the argument System.Xml.XmlReader as document content nodes. [Edit]

public virtual void Load (XmlReader xmlReader)

Parameters

xmlReader
An System.Xml.XmlReader instance whose contents are being loaded. [Edit]

Remarks

Loads the argument System.Xml.XmlReader as its child. It clears existing child nodes and then internally invokes XmlDocument.ReadNode(XmlReader) and appends the returned nodes as its child.

This method does not validate the input document, but if the argument is System.Xml.XmlValidatingReader, then it will report validation errors if any.

[Edit]

Requirements

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