Skip to main content

TcxSchedulerStorage.SaveToFile(string) Method

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

Declaration

procedure SaveToFile(const AFileName: string);

Parameters

Name Type
AFileName string

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