Bde.DBTables.TBDEDataSet.CompareBookmarks

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Bde.DBTables.pas
Bde.DBTables.hpp
Unit: Bde.DBTables
Parent: TBDEDataSet

Delphi

function CompareBookmarks(Bookmark1, Bookmark2: TBookmark): Integer; override;

C++

virtual int __fastcall CompareBookmarks(Data::Db::TBookmark Bookmark1, Data::Db::TBookmark Bookmark2);

Description

Indicates the relationship between two bookmarks.

Call CompareBookmarks to determine if two bookmarks are identical. Bookmark1 and Bookmark2 are the bookmarks to compare.

If the bookmarks differ, CompareBookmarks returns -1 if Bookmark1 is less than Bookmark2, 1 if Bookmark1 is greater than Bookmark2, and 0 if the bookmarks are identical, nil (Delphi), or NULL (C++)

See Also