Partager via


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.

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

Concepts

OLE DB Consumer Templates (C++)

OLE DB Consumer Templates Reference