[Overview][Constants][Types][Classes][Procedures and functions][Variables][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 801

`type TVarBytesField = class(TBytesField)`
`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,IFPObserved`
`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

Documentation generated on: May 14 2021