DataTable::ReadXmlSchema Method
.NET Framework (current version)
Reads an XML schema into the DataTable.
Assembly: System.Data (in System.Data.dll)
| Name | Description | |
|---|---|---|
![]() | ReadXmlSchema(Stream^) | Reads an XML schema into the DataTable using the specified stream. |
![]() | ReadXmlSchema(String^) | Reads an XML schema into the DataTable from the specified file. |
![]() | ReadXmlSchema(TextReader^) | Reads an XML schema into the DataTable using the specified TextReader. |
![]() | ReadXmlSchema(XmlReader^) |
Use the ReadXmlSchema method to create the schema for a DataTable. The schema includes table, relation, and constraint definitions.
To write a schema to an XML document, use the WriteXmlSchema method.
The XML schema is interpreted according to the XSD standard.
The ReadXmlSchema method is generally invoked before invoking the ReadXml method which is used to fill the DataTable.
Show:
