Data.DB.TFlatList.FindItem

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TFlatList

Delphi

function FindItem(const Name: string; MustExist: Boolean): TObject; virtual;

C++

virtual System::TObject* __fastcall FindItem(const System::UnicodeString Name, bool MustExist);

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.

See Also