Data.DB.TIndexDefs.Items

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property Items[Index: Integer]: TIndexDef read GetIndexDef write SetIndexDef; default;

C++

__property TIndexDef* Items[int Index] = {read=GetIndexDef, write=SetIndexDef/*, default*/};

Properties

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

Description

Lists the index definitions that describe each index of a dataset.

Use Items to access a particular index definition. Specify the index definition to access with the Index parameter. Index identifies the index definition's position in the list of index definitions, in the range 0 to Count - 1.



IdxFldsVar := Table1.IndexDefs.Items[i].Fields;



IdxFldsVar = Table1->IndexDefs->Items[i]->Fields;



See Also

Code Examples