[Overview][Types][Classes][Index] Reference for unit 'TextStrings' (#lazutils)

TTextStrings.SaveToFile

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

Declaration

Source position: textstrings.pas line 96

public procedure TTextStrings.SaveToFile(

  const FileName: string

); override;

Arguments

FileName

  

File name where the content is stored.

Description

Creates a temporary TFileStream instance for the FileName argument. The file is created if it does not already exist. The inherited SaveToStream method is called to store content in the string list to the file stream.

See also

TTextStrings.LoadFromFile

  

Loads the content in the string list from the specified file name.

TStrings.SaveToFile


Version 4.0 Generated 2025-05-03 Home