.NET Framework Class Library
SerializationFormat Enumeration
Determines the serialization format for a DataSet.
Namespace:
System.Data
Assembly:
System.Data (in System.Data.dll)

Syntax
Public Enumeration SerializationFormat
public enum SerializationFormat
public enum class SerializationFormat

Members
| Member name | Description |
|---|
| Xml | Serialize as XML content. The default. |
| Binary | Serialize as binary content. Available in ADO.NET 2.0 only. |

Remarks
Microsoft ADO.NET 2.0 introduces the ability to serialize a Dataset as binary content. Earlier versions of the Microsoft .NET Framework do not support binary serialization.
The default format is Xml. This is backward compatible and will work with all versions of the .NET Framework.

Version Information
.NET Framework
Supported in: 4, 3.5, 3.0, 2.0
.NET Framework Client Profile
Supported in: 4, 3.5 SP1

Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

See Also