| [Overview][Types][Classes][Procedures and functions][Index] |
Loads the content in the string list from the specified file.
Source position: lazutf8classes.pas line 30
public procedure TStringListUTF8.LoadFromFile( |
const FileName: string |
); override; |
FileName |
|
File name with content for the string list. |
LoadFromFile is a procedure used to load the content in the string list from the specified file name. FileName can contain UTF-8-encoded characters. LoadFromFile uses a TFileStreamUTF8 instance to open and read the contents of FileName, and calls LoadFromStream to store the values in the string list.