System.Classes.TCollection.FindItemID

From RAD Studio API Documentation
Revision as of 23:38, 16 October 2011 by PyBot (talk | contribs) (Scoping Libraries)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Delphi

function FindItemID(ID: Integer): TCollectionItem;

C++

TCollectionItem* __fastcall FindItemID(int ID);

Properties

Type Visibility Source Unit Parent
function public
System.Classes.pas
System.Classes.hpp
System.Classes TCollection

Description

Returns the item with the specified ID.

The FindItemID method returns the item in the collection whose ID property is passed to it as a parameter. If no item has the specified ID, FindItemID returns nil (Delphi) or NULL (C++).

See Also