RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInterfaceField Class

TInterfaceField represents an interface field in a dataset.

Pascal
TInterfaceField = class(TField);
C++
class TInterfaceField : public TField;

DB

TInterfaceField encapsulates the fundamental behavior common to fields that contain pointers to interfaces (IUnknown) as data. TInterfaceField reimplements the Value and AsVariant properties to adapt them to accessing fields containing interfaces. 

If you use the Fields editor at design time to create a persistent field component for the interface field, you can access it by name at runtime. When using dynamic field components, you can access the TInterfaceField instance using the dataset's Fields property or FieldByName method. 

 

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