Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: void SerializeToFile(Type, object, string, ClassifyOptions, IClassifyFormat<JsonValue>)

Declaration

public static void SerializeToFile(
    Type saveType,
    object saveObject,
    string filename,
    ClassifyOptions options = null,
    IClassifyFormat<JsonValue> format = null
)

Summary

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

Parameters

TypesaveType Type of the object to store.
objectsaveObject Object to store in a file.
stringfilename Path and filename of the file to be created. If the file already exists, it is overwritten.
ClassifyOptionsoptions Options.
IClassifyFormat<JsonValue>format Implementation of a Classify format. See ClassifyJsonFormat for an example.