Data.DB.TDataSet.Buffers

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: protected
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TDataSet

Delphi

property Buffers[Index: Integer]: TRecBuf read GetBuffer;

C++

__property TRecBuf Buffers[int Index] = {read=GetBuffer};

Description

Provides indexed access to the record buffers in the internal cache.

All TDataSet descendants except for unidirectional datasets maintain an internal cache of records from the underlying database table. For example, if the dataset is used to populate a data-aware grid, the cache includes a record for each row in the grid.

For datasets that cache records, each entry in Buffers points to a record buffer in the internal cache. The BufferCount property specifies the total number of record buffers in the cache.

See Also