Data.DB.TFlatList.FindItem
Delphi
function FindItem(const Name: string; MustExist: Boolean): TObject; virtual;
C++
virtual System::TObject* __fastcall FindItem(const System::UnicodeString Name, bool MustExist);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | Data.DB.pas Data.DB.hpp |
Data.DB | TFlatList |
Description
Returns the object referenced by Name.
The FindItem method returns the object referenced by the Name parameter from the TFlatList object. If the MustExist parameter is set to True and the object referenced by Name is not found in the list, an exception is raised.