Datasnap.DBClient.TCustomClientDataSet.GetBookmarkData

From RAD Studio API Documentation

Delphi

procedure GetBookmarkData(Buffer: TRecBuf; Data: TBookmark); overload; override;
procedure GetBookmarkData(Buffer: TRecordBuffer; Data: TBookmark); overload; override; deprecated 'Use overloaded method instead';
procedure GetBookmarkData(Buffer: TRecordBuffer; Data: Pointer); overload; override; deprecated 'Use overloaded method instead';

C++

virtual void __fastcall GetBookmarkData(NativeInt Buffer, System::DynamicArray<System::Byte> Data)/* overload */;
virtual void __fastcall GetBookmarkData _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (System::PByte Buffer, System::DynamicArray<System::Byte> Data)/* overload */;
virtual void __fastcall GetBookmarkData _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (System::PByte Buffer, void * Data)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Datasnap.DBClient TCustomClientDataSet

Description

Gets the bookmark for the record buffer given by the parameter. {{#multireplace:Datasnap.DBClient.TCustomClientDataSet.GetBookmarkData|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Data.DB.TDataSet.GetBookmarkData|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Data.DB.TDataSet.GetBookmarkData|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Gets the bookmark for the record buffer given by the parameter.

GetBookmarkData is used to get 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.

See Also