Data.DB.TIndexDef.Create

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: constructor
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TIndexDef

Delphi

constructor Create(Owner: TIndexDefs; const Name, Fields: string;
Options: TIndexOptions); reintroduce; overload; virtual;

C++

__fastcall virtual TIndexDef(TIndexDefs* Owner, const System::UnicodeString Name, const System::UnicodeString Fields, TIndexOptions Options)/* overload */;

Description

Creates an instance of TIndexDef.

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.

See Also