Data.DB.TDataSet.SetBookmarkData
Delphi
procedure SetBookmarkData(Buffer: TRecBuf; Data: TBookmark); overload; virtual;
procedure SetBookmarkData(Buffer: TRecordBuffer; Data: TBookmark); overload; virtual; deprecated 'Use overloaded method instead';
procedure SetBookmarkData(Buffer: TRecordBuffer; Data: Pointer); overload; virtual; deprecated 'Use overloaded method instead';
C++
virtual void __fastcall SetBookmarkData(NativeInt Buffer, System::DynamicArray<System::Byte> Data)/* overload */;
virtual void __fastcall SetBookmarkData _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (System::PByte Buffer, System::DynamicArray<System::Byte> Data)/* overload */;
virtual void __fastcall SetBookmarkData _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (System::PByte Buffer, void * Data)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Data.DB.pas Data.DB.hpp |
Data.DB | TDataSet |
Description
Sets the bookmark for the record buffer given by the parameter.
SetBookmarkData is used to set the bookmark for the Buffer
record buffer. The Data
parameter is a pointer to the bookmark of the Buffer
record.
The method is virtual. Every TDataSet descendant must implement it in a specific way. A record buffer stores the data of the record, the bookmark, and the bookmark flags.
Note: Unidirectional datasets do not use bookmarks.