.NET Framework Class Library
DataTable..::.ReadXmlSchema Method

Reads an XML schema into the DataTable.

Overload List

  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkReadXmlSchema(Stream)Reads an XML schema into the DataTable using the specified stream.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkReadXmlSchema(TextReader)Reads an XML schema into the DataTable using the specified TextReader.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkReadXmlSchema(String)Reads an XML schema into the DataTable from the specified file.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkReadXmlSchema(XmlReader)Reads an XML schema into the DataTable using the specified XmlReader.
Top
Remarks

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.

See Also

Reference

Other Resources

Tags :


Page view tracker