UtilSerializationSerializeT(T, FileInfo, SerializationFormat) Method

Serializes the data of an Object to the specified file, using the specified serialization format.

Definition

Namespace: DevCase.Core.DataProcessing.Serialization
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void Serialize<T>(
	T obj,
	FileInfo file,
	SerializationFormat format
)

Parameters

obj  T
The object to be serialized.
file  FileInfo
The filepath where to save the serialized data.
format  SerializationFormat
The serialization format.

Type Parameters

T
The type.

Example

This is a code example for Binary serialization.
C#
No code example is currently available or this language may not be supported.

See Also