[Overview][Constants][Classes][Index] | Reference for unit 'inicol' (#fcl)

# TNamedIniCollection

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

Collection of named collection items

## Declaration

Source position: inicol.pp line 77

`type TNamedIniCollection = class(TIniCollection)`
`public`
`function IndexOfUserData();` |  | Search for an item based on it's UserData property
`function IndexOfName();` |  | Search for an item, based on its name, and return its position
`function FindByName();` |  | Return the item based on its name
`function FindByUserData();` |  | Return the item based on its UserData
`property NamedItems []: TNamedIniCollectionItem; default; [rw]` |  | Indexed access to the TNamedIniCollectionItem items
`end;`

## Inheritance

`TNamedIniCollection` |  | Collection of named collection items
`TIniCollection` |  | Collection which can write itself to an .ini file
`TCollection`
`TPersistent,IFPObserved`
`TObject`

## Description

TNamedIniCollection is the collection to go with the TNamedIniCollectionItem item class. it provides some functions to look for items based on the UserData or based on the Name.

## See also

TNamedIniCollectionItem |  | TIniCollectionItem with a name property
IndexOfUserData |  | Search for an item based on it's UserData property
IndexOfName |  | Search for an item, based on its name, and return its position