Datasnap.DBClient.TClientDataSet.IndexDefs

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: published
Source:
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Unit: Datasnap.DBClient
Parent: TClientDataSet

Delphi

property IndexDefs;

C++

__property IndexDefs;

Description

Contains information about the indexes for a client dataset.

Datasnap.DBClient.TClientDataSet.IndexDefs inherits from Datasnap.DBClient.TCustomClientDataSet.IndexDefs. All content below this line refers to Datasnap.DBClient.TCustomClientDataSet.IndexDefs.

Contains information about the indexes for a client dataset.

Examine IndexDefs for index information. IndexDefs maintains an array of TIndexDef items, each of which describes an available index for the dataset. Set the value of IndexDefs before calling CreateDataSet to create a set of indexes with the client dataset.

Note: The index items in IndexDefs may not always reflect the current indexes available for a dataset. Before examining IndexDefs, call the IndexDefs.Update (Delphi) or IndexDefs->Update (C++) method to refresh the item list.

See Also

Code Examples