Data.DB.TIndexDefs.Find

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Find(const Name: string): TIndexDef;

C++

HIDESBASE TIndexDef* __fastcall Find(const System::UnicodeString Name);

Properties

Type Visibility Source Unit Parent
function public
Data.DB.pas
Data.DB.hpp
Data.DB TIndexDefs

Description

Returns the TIndexDef object for the index definition with a specified name.

Call Find to obtain information about a particular index definition. Specify the name of the index as the value of the Name parameter.

Find raises an EDatabaseError exception if there is no index definition with the given name.

Note: To locate an index definition based on the indexed fields rather than the name of the index, use the FindIndexForFields method.

See Also