Back to Devexpress

TcxSchedulerStorage.LoadFromFile(string) Method

vcl-cxschedulerstorage-dot-tcxschedulerstorage-dot-loadfromfile-x28-system-dot-string-x29.md

latest1.3 KB
Original Source

TcxSchedulerStorage.LoadFromFile(string) Method

Loads user event data from the specified file.

Declaration

delphi
procedure LoadFromFile(const AFileName: string);

Parameters

NameType
AFileNamestring

Remarks

Call this procedure to replace the persistence manager’s current content with user events stored in a file previously created by calling the SaveToFile procedure. The LoadFromFile procedure creates a file stream from the path to a file passed as the AFileName parameter and calls the LoadFromStream procedure internally.

See Also

TcxSchedulerStorageDataController

TcxCustomSchedulerStorage.Clear

TcxSchedulerStorage Class

TcxSchedulerStorage Members

cxSchedulerStorage Unit