Skip to content

TVariantField

Field class for native variant data.

Declaration

Source position: db.pas line 1164

type

  TVariantField = class(TField)
  public
    constructor Create;
  end;

Description

TVariantField is the class used when a dataset must manage native variant-typed data. (TField.DataType equals ftVariant). It initializes some of the properties of the TField class and overrides some of its methods to be able to work with variant data.

It should never be necessary to create an instance of TVariantField manually, a field of this class will be instantiated automatically for each variant field when a dataset is opened.

Methods

Member Visibility Description
Create public Create a new instance of the TVariantField class.
See all Methods

See also

Name Description
TDataset Base class for records-based data-access.
TField Provide access to the contents of a single field in a record.