System.Xml.XmlDataDocument.Load Method

Loads the XmlDataDocument from the specified stream.

Syntax

public override void Load (System.IO.Stream inStream)

Parameters

inStream
The stream containing the XML document to load.

Remarks

XmlDataDocument does not support creating entity references. If the data includes entity references, the Load method resolves and expands any entity references.

Note:

In order to view the XML data relationally, you must first specify a schema to use for data mapping. This can be done either by calling the System.Data.DataSet.ReadXmlSchema(XmlReader) method or by creating the tables and columns within the DataSet manually. This step must be done before calling Load.

Requirements

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