IDataFactoryTSerialize Method
Serialize a collection of objects to a specified file location.
Namespace: Common.Core.InterfacesAssembly: Common.Core (in Common.Core.dll) Version: 2.1.5
bool Serialize(
string path,
string? file,
IList<T>? list
)
- path String
- Location for the file.
- file String
- Name of the file. If not supplied the default name is used.
- list IListT
- The collection to serialize.
Boolean if the file was saved, otherwise
is returned.
There must be data already loaded and the path must exist.