Data.DB.TFieldDef.FieldClass
Delphi
property FieldClass: TFieldClass read GetFieldClass;
C++
__property TFieldClass FieldClass = {read=GetFieldClass};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Data.DB.pas Data.DB.hpp |
Data.DB | TFieldDef |
Description
Determines the class of the field object that corresponds to this field definition object.
Inspect the read-only FieldClass property to find out the class of field object to which this field definition corresponds. The FieldClass is determined by the DataType of the field. For example, if the DataType is ftString, the FieldClass is TStringField (Delphi) or __classid(TStringField) (C++).
The field object created from a field definition by the CreateField method is an instance of the FieldClass.