Share via


CBulkRowset::MoveToBookmark

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at CBulkRowset::MoveToBookmark.

Fetches the row marked by a bookmark or the row at a specified offset (lSkip) from that bookmark.

Syntax

  
      HRESULT MoveToBookmark(  
   const CBookmarkBase& bookmark,  
   DBCOUNTITEM lSkip = 0   
) throw( );  

Parameters

bookmark
[in] A bookmark marking the location from which you want to fetch data.

lSkip
[in] The number count of rows from the bookmark to the target row. If lSkip is zero, the first row fetched is the bookmarked row. If lSkip is 1, the first row fetched is the row after the bookmarked row. If lSkip is –1, the first row fetched is the row before the bookmarked row.

Return Value

See IRowset::GetData in the OLE DB Programmer's Reference.

Requirements

Header: atldbcli.h

See Also

CBulkRowset Class