Skip to content

TNamedCollection.ItemByName

Get item by name

Declaration

Source position: fpmkunit.pp line 364

public 
function TNamedCollection.ItemByName(const AName: string) : TNamedItem;

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.