Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

XmlWriteMode Enumeration

Specifies how to write XML data and a relational schema from a DataSet.

[Visual Basic]
<Serializable>
Public Enum XmlWriteMode
[C#]
[Serializable]
public enum XmlWriteMode
[C++]
[Serializable]
__value public enum XmlWriteMode
[JScript]
public
   Serializable
enum XmlWriteMode

Remarks

Use the members of this enumeration when setting the WriteMode parameter of the WriteXml method.

Members

Member name Description
DiffGram

Supported by the .NET Compact Framework.

Writes the entire DataSet as a DiffGram, including original and current values. To generate a DiffGram containing only changed values, call GetChanges, and then call WriteXml as a DiffGram on the returned DataSet.
IgnoreSchema

Supported by the .NET Compact Framework.

Writes the current contents of the DataSet as XML data, without an XSD schema. If no data is loaded into the DataSet, nothing is written.
WriteSchema

Supported by the .NET Compact Framework.

Writes the current contents of the DataSet as XML data with the relational structure as inline XSD schema. If the DataSet has only a schema with no data, only the inline schema is written. If the DataSet does not have a current schema, nothing is written.

Requirements

Namespace: System.Data

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

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

See Also

System.Data Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.