SerializationFormat Enumeration

 
System_CAPS_noteNote

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

Determines the serialization format for a DataSet.

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

public enum class 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: