Class SerializeMode
Defines constants for specifying the persistence medium to be used for serialization.
Inheritance
Namespace: Syncfusion.Runtime.Serialization
Assembly: Syncfusion.Shared.Base.dll
Syntax
public sealed class SerializeMode : Enum
Remarks
The SerializeMode enumeration defines constants for specifying the persistence medium. This enum is used by the AppStateSerializer class as well as by several other Syncfusion components.
Fields
BinaryFile
A Binary file is used for reading / writing the state information.
Declaration
public const SerializeMode BinaryFile
Field Value
| Type |
|---|
| SerializeMode |
BinaryFmtStream
An externally provided Stream is used for reading / writing the state information in a binary format.
Declaration
public const SerializeMode BinaryFmtStream
Field Value
| Type |
|---|
| SerializeMode |
IsolatedStorage
The IsolatedStorage is used for reading / writing the state information.
Declaration
public const SerializeMode IsolatedStorage
Field Value
| Type |
|---|
| SerializeMode |
WindowsRegistry
The Win32 WindowsRegistry is used for reading / writing the state information.
Declaration
public const SerializeMode WindowsRegistry
Field Value
| Type |
|---|
| SerializeMode |
XMLFile
A .XML file is used for reading / writing the state information.
Declaration
public const SerializeMode XMLFile
Field Value
| Type |
|---|
| SerializeMode |
XMLFmtStream
An externally provided Stream is used for reading / writing the state information in an XML format.
Declaration
public const SerializeMode XMLFmtStream
Field Value
| Type |
|---|
| SerializeMode |