SerializationFormat SerializationFormat SerializationFormat SerializationFormat Enum

Definition

Determines the serialization format for a DataSet.

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

Fields

Binary Binary Binary Binary 1

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

Xml Xml Xml 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