API:Data.DB.TIDispatchField

From RAD Studio API Documentation
Jump to: navigation, search

Data.DB.TInterfaceFieldData.DB.TFieldSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTIDispatchField

Delphi

TIDispatchField = class(TInterfaceField)

C++

class PASCALIMPLEMENTATION TIDispatchField : public TInterfaceField

Properties

Type Visibility Source Unit Parent
class public
Data.DB.pas
Data.DB.hpp
Data.DB Data.DB

Description

TInterfaceField represents an interface field in a dataset.

Data.DB.TIDispatchField inherits from Data.DB.TInterfaceField. All content below this line refers to Data.DB.TInterfaceField.

TInterfaceField represents an interface field in a dataset.

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.

See Also