stringlistcontainer SaveToFile method
Return to Introduction  Previous page  Next page
Applies to
acStringListContainer component.  

Declaration
procedure SaveToFile(const FileName: String);  

Description
The SaveToFile method saves the strings in the list to the specified file.  
 
Call SaveToFile to save the strings in the list to the file specified by FileName. Each string in the list is written to a separate line in the file.  

See also
LoadFromFile, LoadFromRegistry and StoreToRegistry methods;  
Strings, Names, Values, MaxSize and Duplicates properties.