Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: object DeserializeFile<TElement>(Type, string, IClassifyFormat<TElement>, ClassifyOptions)

Declaration

public static object DeserializeFile<TElement>(
    Type type,
    string filename,
    IClassifyFormat<TElement> format,
    ClassifyOptions options = null
)

Summary

Reconstructs an object of the specified type from the specified file.

Generic type parameters

TElement Type of the serialized form (see format).

Parameters

Typetype Type of object to read.
stringfilename Path and filename of the file to read from.
IClassifyFormat<TElement>format Implementation of a Classify format.
ClassifyOptionsoptions Options.

Returns

A new instance of the requested type.