Sign in Join
FPDoc Onlineexperiment

TNamedCollection.ItemByName function

Member of TNamedCollectionpublicIn unit fpMkUnit

Get item by name

Declaration

pascal
function ItemByName(const AName: string): TNamedItem

Arguments

AName

Name of item to retrieve

Function result

Found item or nil if not found

Description

Retrieves an item from the collection by its name. Returns the TNamedItem object if found, or nil if no item with the specified name exists.

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