Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ReadXmlSchema Method

DataTable.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 Supported by the XNA Framework ReadXmlSchema(Stream) Reads an XML schema into the DataTable using the specified stream.
Public method Supported by the XNA Framework ReadXmlSchema(String) Reads an XML schema into the DataTable from the specified file.
Public method Supported by the XNA Framework ReadXmlSchema(TextReader) Reads an XML schema into the DataTable using the specified TextReader.
Public method Supported by the XNA Framework ReadXmlSchema(XmlReader) Reads an XML schema into the DataTable using the specified XmlReader.
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:
© 2015 Microsoft