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
Type | saveType |
Type of the object to store. |
object | saveObject |
Object to store in a file. |
string | filename |
Path and filename of the file to be created. If the file already exists, it is overwritten. |
ClassifyOptions | options |
Options. |
IClassifyFormat<XElement> | format |
Implementation of a Classify format. See ClassifyXmlFormat for an example. |