[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'db' (#fcl)

TVarBytesField

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Field class for variable size byte array values

Declaration

Source position: db.pas line 748

type TVarBytesField = class(TBytesField)

protected

  function GetDataSize; override;

public

  constructor Create(); override;

  

Create a new instance of a TVarBytesField class.

end;

Inheritance

TVarBytesField

  

Field class for variable size byte array values

|

TBytesField

  

Field class for fixed size byte array values

|

TBinaryField

  

Field class for working with binary field data

|

TField

  

Provide access to the contents of a single field in a record

|

TComponent,IUnknown,IInterfaceComponentReference

|

TPersistent

|

TObject

Description

TVarBytesField is the class used when a dataset must manage data of variable-size binary type. (TField.DataType equals ftVarBytes). It initializes some of the properties of the TField class to be able to work with variable-size byte fields.

It should never be necessary to create an instance of TVarBytesField manually, a field of this class will be instantiated automatically for each variable-sized binary data field when a dataset is opened.

See also

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

The latest version of this document can be found at lazarus-ccr.sourceforge.net.