Sign in Join
FPDoc Onlineexperiment

TNamedIniCollection.FindByName function

Member of TNamedIniCollectionpublicIn unit IniCol

Return the item based on its name.

Declaration

pascal
function FindByName(const AName: string): TNamedIniCollectionItem

Arguments

AName

Name to look for.

Function result

Named item, or Nil if none was found.

Description

FindByName returns the collection item whose name matches AName (case insensitive match). It calls IndexOfName and returns the item at the found position. If no item is found, Nil is returned.

Errors

If no item is found, Nil is returned.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.