SerializationFormat Enumeration


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

Determines the serialization format for a DataSet.

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

public enum SerializationFormat

Member nameDescription

Serialize as binary content. Available in ADO.NET 2.0 only.


Serialize as XML content. The default.

Microsoft ADO.NET 2.0 introduces the ability to serialize a T:System.Data.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.

.NET Framework
Available since 2.0
Return to top