Share via


CRowset::MoveToBookmark

HRESULT MoveToBookmark( const CBookmarkBase&bookmark, LONG lSkip );

Return Value

A standard HRESULT.

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 *lSkipis zero, the first row fetched is the bookmarked row. If *lSkipis 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.

Remarks

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

CRowset OverviewClass Members

See Also

CRowset::MoveNext, CRowset::MoveFirst, , CRowset::MovePrev, CRowset::MoveLast