Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

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

Declaration

public static void SerializeToFile(
    Type saveType,
    object saveObject,
    string filename,
    ClassifyOptions options = null,
    IClassifyFormat<XElement> 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<XElement>format Implementation of a Classify format. See ClassifyXmlFormat for an example.