FireDAC.Comp.DataSet.TFDDataSet.SetBookmarkData

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetBookmarkData(Buffer: TRecBuf; Data: TBookmark); override;

C++

virtual void __fastcall SetBookmarkData(NativeInt Buffer, System::DynamicArray<System::Byte> Data)/* overload */;
inline void __fastcall  SetBookmarkData _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (System::PByte Buffer, System::DynamicArray<System::Byte> Data){ Data::Db::TDataSet::SetBookmarkData(Buffer, Data); }
inline void __fastcall  SetBookmarkData _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (System::PByte Buffer, void * Data){ Data::Db::TDataSet::SetBookmarkData(Buffer, Data); }

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
FireDAC.Comp.DataSet TFDDataSet

Description

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

FireDAC.Comp.DataSet.TFDDataSet.SetBookmarkData inherits from Data.DB.TDataSet.SetBookmarkData. All content below this line refers to Data.DB.TDataSet.SetBookmarkData.

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.

See Also