Export (0) Print
Expand All

TypedTableBase<T>.ReadXmlSchema Method

Reads an XML schema into the DataTable.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method ReadXmlSchema(Stream) Reads an XML schema into the DataTable using the specified stream. (Inherited from DataTable.)
Public method ReadXmlSchema(String) Reads an XML schema into the DataTable from the specified file. (Inherited from DataTable.)
Public method ReadXmlSchema(TextReader) Reads an XML schema into the DataTable using the specified TextReader. (Inherited from DataTable.)
Public method ReadXmlSchema(XmlReader) Reads an XML schema into the DataTable using the specified XmlReader. (Inherited from DataTable.)
Top

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:
© 2014 Microsoft