次の方法で共有


CBookmark::SetBookmark

 

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::SetBookmark.

Copies the bookmark value referenced by pBuffer to the CBookmark buffer and sets the buffer size to nSize.

Syntax

  
      HRESULT SetBookmark(  
   DBLENGTH nSize,  
   BYTE* pBuffer   
) throw( );  

Parameters

nSize
[in] The size of the bookmark buffer.

pBuffer
[in] A pointer to the byte array containing the bookmark value.

Return Value

A standard HRESULT.

Remarks

This function is only available in CBookmark<0>.

Requirements

Header: atldbcli.h

See Also

CBookmark Class