Bde.DBTables.TTable.IndexDefs

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: published
Source:
Bde.DBTables.pas
Bde.DBTables.hpp
Unit: Bde.DBTables
Parent: TTable

Delphi

property IndexDefs: TIndexDefs read FIndexDefs write SetIndexDefs stored IndexDefsStored;

C++

__property Data::Db::TIndexDefs* IndexDefs = {read=FIndexDefs, write=SetIndexDefs, stored=IndexDefsStored};

Description

Contains information about the indexes for a table.

IndexDefs is a collection of index definitions, each of which describes an available index for the table. Define the index definitions of a table before calling CreateTable or creating a table at design time.

Ordinarily, an application accesses or specifies indexes at runtime through the IndexFieldNames or IndexFields properties.

If IndexDefs is updated or manually edited, the StoreDefs property becomes true.

Note: The index definitions in IndexDefs may not always reflect the current indexes available for a table. Before examining IndexDefs, call its Update method to refresh the list.

See Also