System.Data.SerializationFormat Enumeration

Determines the serialization format for a System.Data.DataSet.

Syntax

public enum SerializationFormat

Remarks

Microsoft ADO.NET 2.0 introduces the ability to serialize a System.Data.Dataset as binary content. Earlier versions of the Microsoft .NET Framework do not support binary serialization.

The default format is SerializationFormat.Xml. This is backward compatible and will work with all versions of the .NET Framework.

Members

Member NameDescription
Binary

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

Xml

Serialize as XML content. The default.

Requirements

Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0