JVCL Help:TJvCustomAppStorage.ReadStringList

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Reads a list of strings.


Pascal

 functionReadStringList(constPath: string; constSL: TStrings; constClearFirst: Boolean = True; constItemName: string = cItem): Integer;


Parameters

Parameters Description
const Path: string Path (relative to the current path) of the value to read.
const SL: TStrings String list in which to store the strings from the storage.
const ClearFirst: Boolean = True Flag to indicate if the string list should be cleared before reading commences.
const ItemName: string = cItem Prefix of the sub path for the items.


Description

ReadStringList reads a list of strings from the storage. ReadStringList uses the ReadList method in combination with a specialized OnReadItem handler that will read the individual items in from the list. Items are expected to be stored in the Itemx format where x is the 0-based index of the item.
The returned value is the number of strings read.


See Also

TJvCustomAppStorage.ReadBinary, TJvCustomAppStorage.ReadDateTime, TJvCustomAppStorage.ReadFloat, TJvCustomAppStorage.ReadInteger, TJvCustomAppStorage.ReadList, TJvCustomAppStorage.ReadString, TJvCustomAppStorage.WriteStringList


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page