Data.DB.TDataSet.GetFieldsClass

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetFieldsClass: TFieldsClass; virtual;

C++

virtual TFieldsClass __fastcall GetFieldsClass();

Properties

Type Visibility Source Unit Parent
function protected
Data.DB.pas
Data.DB.hpp
Data.DB TDataSet

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