Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
DataTable Class
DataTable Methods

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
DataTable..::.ReadXmlSchema Method

Reads an XML schema into the DataTable.

  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

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.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker