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

System.Data.DataSet.ReadXmlSchema Method

Reads the schema from the specified text reader object.

public void ReadXmlSchema (System.IO.TextReader reader)

Parameters

reader
The text reader object to read the data 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