Sign in Join
FPDoc Onlineexperiment

TDefCollection.Find function

Member of TDefCollectionpublicIn unit DB

Find an item by name.

Declaration

pascal
function Find(const AName: string): TNamedItem

Arguments

AName

Name to search for in collection.

Function result

Item matching AName.

Description

Find searches for an item in the collection with name AName and returns the item if it is found. If no item with the requested name is found, Nil is returned. The search is performed case-insensitive.

Errors

If no item with matching name is found, Nil is returned.

See also

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