SerializationFormat Enum

Definition

Determines the serialization format for a DataSet.

public enum class SerializationFormat
public enum SerializationFormat
type SerializationFormat = 
Public Enum SerializationFormat
Inheritance
SerializationFormat

Fields

Binary 1

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

Xml 0

Serialize as XML content. The default.

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.

Applies to