UtilSerializationSerializeT(T, FileInfo, SerializationFormat) Method
Serializes the data of an Object to the specified file, using the specified serialization format.
Namespace: DevCase.Core.DataProcessing.SerializationAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public:
generic<typename T>
static void Serialize(
T obj,
FileInfo^ file,
SerializationFormat format
)
No code example is currently available or this language may not be supported.
- obj T
-
The object to be serialized.
- file FileInfo
-
The filepath where to save the serialized data.
- format SerializationFormat
-
The serialization format.
- T
-
The type.
This is a code example for Binary serialization.
No code example is currently available or this language may not be supported.
Dim obj As String() = {"Hello World!"}
Serialize(obj, "C:\File.bin", SerializationFormat.Binary)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.