DataSet.WriteXml Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Writes XML data, and optionally the schema, from the DataSet.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

NameDescription
System_CAPS_pubmethodWriteXml(Stream)

Writes the current data for the DataSet using the specified System.IO.Stream.

System_CAPS_pubmethodWriteXml(Stream, XmlWriteMode)

Writes the current data, and optionally the schema, for the DataSet using the specified System.IO.Stream and XmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema.

System_CAPS_pubmethodWriteXml(String)

Writes the current data for the DataSet to the specified file.

System_CAPS_pubmethodWriteXml(String, XmlWriteMode)

Writes the current data, and optionally the schema, for the DataSet to the specified file using the specified XmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema.

System_CAPS_pubmethodWriteXml(TextWriter)

Writes the current data for the DataSet using the specified TextWriter.

System_CAPS_pubmethodWriteXml(TextWriter, XmlWriteMode)

Writes the current data, and optionally the schema, for the DataSet using the specified TextWriter and XmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema.

System_CAPS_pubmethodWriteXml(XmlWriter)

Writes the current data for the DataSet to the specified XmlWriter.

System_CAPS_pubmethodWriteXml(XmlWriter, XmlWriteMode)

Writes the current data, and optionally the schema, for the DataSet using the specified XmlWriter and XmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema.

Return to top
Show: