Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomMemData.SaveToStrings(TStrings) Method

Saves data to a specified string list.

#Declaration

Delphi
procedure SaveToStrings(AStrings: TStrings); dynamic;

#Parameters

Name Type
AStrings TStrings

#Remarks

Call this method to store the ExpressMemData component’s data to a string list referenced by the AStrings parameter. The first string in the list enumerates field names, while all other strings contain string representations of the corresponding field values. The SaveToStrings method uses the DelimiterChar to separate field entries in each output string.

The SaveToTextFile method calls the SaveToStrings method internally to store data to a string list and then calls the list’s SaveToFile method to store the data to a file.

Note

Since the SaveToStrings method’s output depends upon current regional settings, you are not guaranteed that all data will be loaded properly at a later point in time. If regional settings differ from the original settings with which the string list was created, loading errors may occur. To make certain that your data is persisted regardless of regional settings, use the SaveToBinaryFile, SaveToStream, LoadFromBinaryFile, and LoadFromStream methods instead.

See Also