Back to Devexpress

TcxSchedulerStorage.SaveToFile(string) Method

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

latest1.3 KB
Original Source

TcxSchedulerStorage.SaveToFile(string) Method

Saves the persistence manager’s content to the specified file.

Declaration

delphi
procedure SaveToFile(const AFileName: string);

Parameters

NameType
AFileNamestring

Remarks

Call this procedure to create a new file and populate it with all user events that the persistence manager currently stores. The SaveToFile procedure creates a file stream from the path to a file passed as the AFileName parameter and calls the SaveToStream procedure internally. Then, you can load user event data from the resulting file by calling the LoadFromFile procedure.

See Also

TcxSchedulerStorageDataController

TcxSchedulerStorage Class

TcxSchedulerStorage Members

cxSchedulerStorage Unit