[Overview][Types][Classes][Index] | Reference for unit 'IniFiles' (#fcl)

# THashedStringList

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

String list with support for has values

## Declaration

Source position: inifiles.pp line 79

`type THashedStringList = class(TStringList)`
`public`
`destructor Destroy; override;` |  | Clean up instance
`function IndexOf(); override;` |  | Returns the index of a string in the list of strings
`function IndexOfName(); override;` |  | Return the index of a name in the list of name=value pairs
`end;`

## Inheritance

`THashedStringList` |  | String list with support for has values
`TStringList`
`TStrings`
`TPersistent,IFPObserved`
`TObject`

## Description

THashedStringList is a TStringList descendent which creates has values for the strings and names (in the case of a name-value pair) stored in it. The IndexOf and IndexOfName functions make use of these hash values to quickly locate a value.

## See also

IndexOf |  | Returns the index of a string in the list of strings
IndexOfName |  | Return the index of a name in the list of name=value pairs

Documentation generated on: May 14 2021