Data.SqlExpr.TSQLTable.IndexFields
Delphi
property IndexFields[Index: Integer]: TField read GetIndexField write SetIndexField;
C++
__property Data::Db::TField* IndexFields[int Index] = {read=GetIndexField, write=SetIndexField};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
property | public | Data.SqlExpr.pas Data.SqlExpr.hpp |
Data.SqlExpr | TSQLTable |
説明
現在のインデックスに関連付けられている項目を指定します。
IndexFields は,ゼロを起点とした項目オブジェクトの配列です。各項目オブジェクトは現在のインデックスにある項目に対応します。インデックスはインデックス内の項目の位置を表す序数です。インデックスの 1 番めの項目は IndexFields[0] で,2 番めの項目は IndexFields[1] などとなります。
メモ: 直接 IndexFields を設定しないでください。かわりに IndexFieldNames プロパティを使用して,テーブル内のレコードのソート順を指定します。