Reads the schema from the specified XML reader object.
- reader
- The XML reader object to read the schema from.
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
Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0