FireDAC.Comp.DataSet.TFDIndexes.FindIndexForFields
Delphi
function FindIndexForFields(const AFields: String; ARequiredOptions: TFDSortOptions = []; AProhibitedOptions: TFDSortOptions = []): TFDIndex;
C++
TFDIndex* __fastcall FindIndexForFields(const System::UnicodeString AFields, Firedac::Stan::Intf::TFDSortOptions ARequiredOptions = Firedac::Stan::Intf::TFDSortOptions() , Firedac::Stan::Intf::TFDSortOptions AProhibitedOptions = Firedac::Stan::Intf::TFDSortOptions() );
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | FireDAC.Comp.DataSet.pas FireDAC.Comp.DataSet.hpp |
FireDAC.Comp.DataSet | TFDIndexes |
説明
既存の TFDIndex オブジェクトを、フィールドおよびオプションをソートして、検索します。
FindIndex メソッドを使用すると、フィールドとオプションをソートして、ビューを検索することができます。ビューが見つからない場合、FindIndexForFields は nil を返します。
一致したビューには、AFields から始まるフィールドがあるはずです。フィールドには、AFields よりも多くのフィールドが含まれている可能性があります。また、ARequiredOptions オプションはすべて Options に含まれていなければならず、AProhibitedOptions オプションは 1 つも Options に含まれていてはなりません。