[This is preliminary documentation and is subject to change.]
Deserialises a tree previously serialised to a file.
Declaration Syntax
C# |
public static Persistent Deserialise( string filePath )
Parameters
- filePath (String)
- The path and file name of a file created by a Serialise or write method.
Return Value
The root object of the deserialised tree. Can be null.
Remarks
The file must have been created using the TreeSerialiser class. The object tree will be created exactly as
it was when serialised, including associated collections. The object cache
is not used when deserialising, and the resulting tree of objects is
detached from the persistent tree. It can be attached to the tree by
setting the returned root object into a contained scalar member or
collection.