RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIndexDef.Create Constructor

Creates an instance of TIndexDef.

Pascal
constructor Create(Owner: TIndexDefs; const Name: string; const Fields: string; Options: TIndexOptions); virtual; overload; reintroduce;
C++
virtual __fastcall TIndexDef(TIndexDefs Owner, const AnsiString Name, const AnsiString Fields, TIndexOptions Options);

Do not explicitly create index definition objects. A TIndexDef is created automatically by the dataset for each existing index of the table. When creating new indexes, use the TIndexDefs.AddIndexDef method. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!