[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'LazUTF8Classes' (#lazutils)

TStringListUTF8.SaveToFile

Saves the content in the string to the specified file name.

Declaration

Source position: lazutf8classes.pas line 31

public procedure TStringListUTF8.SaveToFile(

  const FileName: string

); override;

Arguments

FileName

  

File name where content in the string list is stored.

Description

SaveToFile is a procedure used to save the content in the string list to the specified file name. FileName can contain UTF-8-encoded characters. SaveToFile uses a TFileStreamUTF8 instance to create the file specified in FileName, and calls the SaveToStream method to store values from the string list.

See also

TStrings.SaveToFile