Serialize(saveType, saveObject, options, format)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Static method: void SerializeToFile(Type, object, string, ClassifyOptions, IClassifyFormat<JsonValue>)Declarationpublic 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| 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<JsonValue> | format |
Implementation of a Classify format. See ClassifyJsonFormat for an example. |
|