CBookmark Class

 

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 CBookmark Class.

Holds a bookmark value in its buffer.

template < DBLENGTH nSize = 0 >  
class CBookmark : public CBookmarkBase  
template < >  
class CBookmark< 0 > : public CBookmarkBase  

Parameters

nSize
The size of the bookmark buffer in bytes. When nSize is zero, the bookmark buffer will be dynamically created at run time.

Methods

CBookmarkThe constructor
GetBufferRetrieves the pointer to the buffer.
GetSizeRetrieves the size of the buffer in bytes.
SetBookmarkSets the bookmark value.

Operators

operator =Assigns one CBookmark class to another.

CBookmark<0> is a template specialization of CBookmark; its buffer is dynamically created at run time.

Header: atldbcli.h

OLE DB Consumer Templates
OLE DB Consumer Templates Reference

Show: