Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: void SerializeToFile<TElement, T>(T, string, IClassifyFormat<TElement>, ClassifyOptions)

Declaration

public static void SerializeToFile<TElement, T>(
    T saveObject,
    string filename,
    IClassifyFormat<TElement> format,
    ClassifyOptions options = null
)

Summary

Stores the specified object in a file with the given path and filename.

Generic type parameters

TElement Type of the serialized form (see format).
T Type of the object to store.

Parameters

TsaveObject Object to store in a file.
stringfilename Path and filename of the file to be created. If the file already exists, it is overwritten.
IClassifyFormat<TElement>format Implementation of a Classify format.
ClassifyOptionsoptions Options.