SerializationFormat Enumeration

 

Determines the serialization format for a DataSet.

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

type SerializationFormat

Member nameDescription
Binary

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

Xml

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
Show: