Skip to content

TBinaryField

Field class for working with binary field data.

Declaration

Source position: db.pas line 946

type

  TBinaryField = class(TField)
  public
    constructor Create;
  published
    property Size; {d}
  end;

Description

TBinaryField is an abstract class, designed to handle binary data of variable size. It overrides some of the properties and methods of the TField class to be able to work with binary field data, such as retrieving the contents as a string or as a variant.

One must never create an instance of TBinaryField manually, it is an abstract class. Instead, a descendent class such as TBytesField or TVarBytesField should be created.

Properties

Member Visibility Description
Size read only published Size of the binary data.
See all Properties

Methods

Member Visibility Description
Create public Create a new instance of a TBinaryField 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.
TBytesField Field class for fixed size byte array values.
TVarBytesField Field class for variable size byte array values.