Data.DB.TDataSet.FreeBookmark

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure FreeBookmark(Bookmark: TBookmark); virtual;

C++

virtual void __fastcall FreeBookmark(TBookmark Bookmark);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Data.DB.pas
Data.DB.hpp
Data.DB TDataSet

Description

Frees the resources allocated for a specified bookmark (somewhat obsolete).

TBookmark is an alias of TBytes. This means that TBookmark is automatically garbage collected when it goes out of scope. Because TBookmark does not need to free memory, the FreeBookmark method is blank for the default implementation.

If a TDataSet descendant still needs to free resources allocated when using bookmarks, the FreeBookmark method should be overridden to a specific functionality when the bookmark is no longer needed. Otherwise, you do not need to use this method.


See Also

Code Examples