FireDAC.Comp.DataSet.TFDDataSet.GetIsIndexField

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
Unit: FireDAC.Comp.DataSet
Parent: TFDDataSet

Delphi

function GetIsIndexField(AField: TField): Boolean; override;

C++

virtual bool __fastcall GetIsIndexField(Data::Db::TField* AField);

Description

Checks whether the given field is an index field.

FireDAC.Comp.DataSet.TFDDataSet.GetIsIndexField inherits from Data.DB.TDataSet.GetIsIndexField. All content below this line refers to Data.DB.TDataSet.GetIsIndexField.

Checks whether the given field is an index field.

GetIsIndexField checks whether the given field is an index field. The method returns True if the field is one of the fields that make up the dataset's current index.

See Also