Data.DB.TDataSet.GetFieldsClass

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TDataSet

Delphi

function GetFieldsClass: TFieldsClass; virtual;

C++

virtual TFieldsClass __fastcall GetFieldsClass();

Description

Returns the TFields descendant metaclass.

GetFieldsClass returns the TFields descendant metaclass. GetFieldsClass is expected to be overridden in descendant datasets to provide their own custom TFields descendants.

The class reference returned by GetFieldsClass is used internally to create the class exposed by the Fields property.

See Also