Data.DB.TDataSet.GetBookmarkFlag

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

function GetBookmarkFlag(Buffer: TRecBuf): TBookmarkFlag; overload; virtual;
function GetBookmarkFlag(Buffer: TRecordBuffer): TBookmarkFlag; overload; virtual; deprecated 'Use overloaded method instead';

C++

virtual TBookmarkFlag __fastcall GetBookmarkFlag(TRecBuf Buffer)/* overload */;
virtual TBookmarkFlag __fastcall GetBookmarkFlag _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (TRecordBuffer Buffer)/* overload */;

Description

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

GetBookmarkFlag is used to get the bookmark flag for the Buffer record buffer. The method returns a TBookmarkFlag value.

The method is virtual. Every TDataSet descendant must implement it in a specific way. Note that a record buffer stores the data of the record, the bookmark, and the bookmark flags.

Note: Unidirectional datasets do not use bookmarks.

See Also