Data.DB.TFieldDef.FieldClass

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TFieldDef

Delphi

property FieldClass: TFieldClass read GetFieldClass;

C++

__property TFieldClass FieldClass = {read=GetFieldClass};

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.

See Also