Mono Class Library: System.Data.DataSet Overview | Members

System.Data.DataSet.WriteXmlSchema Method

Write the schema to the specified text writer object.

public void WriteXmlSchema (System.IO.TextWriter writer)

Parameters

writer
Text writer object to write the data to.

Remarks

WriteXmlSchema writes only the DataSet data schema to an XML document. The schema includes table, relation, and constraint definitions. The schema is written using the XSD standard. To write the data only, or both data and schema to an XML document, use the DataSet.WriteXml method.

Requirements

Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0