Data.DB.TField.GetClassDesc

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: TField

Delphi

function GetClassDesc: string; virtual;

C++

virtual System::UnicodeString __fastcall GetClassDesc();

Description

Returns the abbreviated class name of the field.

The GetClassDesc method returns the abbreviated class name of the field component. The abbreviated class name is built by stripping the leading 'T' from the class name and removing the trailing word 'FIELD', except in the case of TField, where that would leave an empty string. Thus, the abbreviated class name of TField is "FIELD", the abbreviated class name of TVarBytesField is "VarBytes", and so on.