''XmlWriteMode'' ''serializable'

XmlWriteMode serializable

System.Data (system.data.dll) enum

This enumeration is used to specify the type of XML output generated by the DataSet.WriteXml( ) method. IgnoreSchema writes the data only. In this case, you can use the DataSet.WriteXmlSchema( ) method to create a separate schema file for the DataSet . If you choose WriteSchema , an inline XSD schema is written at the beginning of the file, followed by the XML data. Finally, you can use DiffGram to write the data indicating which rows have been added, deleted, and modified (along with the original value for changed rows). When a DataSet is serialized as part of a SOAP message sent to or from a web service, the DiffGram format is used automatically, and the DataSet schema is prepended to the data.

public enum XmlWriteMode {
   WriteSchema = 0,
   IgnoreSchema = 1,
   DiffGram = 2


System.Object figs/U2192.gif System.ValueType figs/U2192.gif System.Enum(System.IComparable, System.IFormattable , System.IConvertible) figs/U2192.gif XmlWriteMode

Passed To

DataSet.WriteXml( )

    Part I: ADO.NET Tutorial
    Part II: ADO.NET Core Classes
    Part III: API Quick Reference
    Chapter 34. The System.Data Namespace