Mono Class Library: System.Data.DataSet Overview | Members

System.Data.DataSet.ReadXmlSchema Method

Reads the XML schema from the specified stream.

public void ReadXmlSchema (System.IO.Stream stream)

Parameters

stream
The stream to read the schema from.

Remarks

Reads the data schema specified in the XSD standard and creates the DataSet structure based on it. The schema includes the table, relation and constraint definitions. ReadXmlSchema can be used before reading the XML data using one of the DataSet.ReadXml overloaded versions which do not take the System.Data.XmlReadMode parameter.

Writing the XML schema is possible using one of the overloaded DataSet.WriteXmlSchema

Requirements

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