Skip to content

Latest commit

 

History

History
82 lines (71 loc) · 1.94 KB

File metadata and controls

82 lines (71 loc) · 1.94 KB
title CBookmark Class | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic article
f1_keywords
ATL.CBookmark
ATL::CBookmark<nSize>
CBookmark
ATL.CBookmark<nSize>
ATL::CBookmark
dev_langs
C++
helpviewer_keywords
CBookmark class
ms.assetid bc942f95-6f93-41d9-bb6e-bcdae4ae0b7a
caps.latest.revision 10
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

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