RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractFieldValuesAdapter.GetValueFieldClass Method

Returns the class of the single adapter field this adapter includes.

Pascal
function GetValueFieldClass: TComponentClass; virtual; abstract;
C++
virtual __fastcall TComponentClass GetValueFieldClass() = 0;

GetValueFieldClass returns the class reference for the type of the single adapter field that the GetField method returns. The return value must be a descendant of TComponent and is typically a descendant of TAdapterNamedField

In TAbstractFieldValuesAdapter, GetValueFieldClass is abstract or, in C++ terminology, pure virtual. Descendant classes must override this method to indicate the type of field this adapter includes. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!