Unit 'fpmkunit' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TNamedItemList.ItemByName

Get named item by name

Declaration

Source position: fpmkunit.pp line 375

public function TNamedItemList.ItemByName(

  const ANAme: string

):TNamedItem;

Arguments

ANAme

  

Name of item to retrieve

Function result

Result returns the TNamedItem object with the specified name, or nil if no matching item is found in the list. Provides direct object access for named item retrieval.

Description

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


Documentation generated on: Dec 15 2025