Udostępnij za pośrednictwem


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.

Syntax

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.

Members

Methods

CBookmark The constructor
GetBuffer Retrieves the pointer to the buffer.
GetSize Retrieves the size of the buffer in bytes.
SetBookmark Sets the bookmark value.

Operators

operator = Assigns one CBookmark class to another.

Remarks

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

Requirements

Header: atldbcli.h

See Also

OLE DB Consumer Templates
OLE DB Consumer Templates Reference