Datasnap.DBClient.TCustomClientDataSet.IndexFields

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

property IndexFields[Index: Integer]: TField read GetIndexField write SetIndexField;

C++

__property Data::Db::TField* IndexFields[int Index] = {read=GetIndexField, write=SetIndexField};

プロパティ

種類 可視性 ソース ユニット
property public
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Datasnap.DBClient TCustomClientDataSet

説明

現在のインデックスに関連付けられている項目を指定します。

IndexFields は,ゼロを起点とした項目オブジェクトの配列です。各項目オブジェクトは現在のインデックスにある項目に対応します。インデックスはインデックス内の項目の位置を表す序数です。インデックスの 1 番めの項目は IndexFields[0] で,2 番めの項目は IndexFields[1] などとなります。

メモ:  直接 IndexField を設定しないでください。かわりに IndexFieldNames プロパティを使って実行時にデータセットを順序付けます。

関連項目