共用方式為


CRowset::GetDataHere

Retrieves data from the current row and places it into the specified buffer.

HRESULT GetDataHere( 
   int nAccessor, 
   void* pBuffer  
) throw( );

Parameters

  • nAccessor
    [in] The index number of the accessor to use for accessing the data.

  • pBuffer
    [out] A buffer into which to place the data for the current record.

Return Value

A standard HRESULT.

Remarks

For an example of how to use this function, see the MultiRead sample.

Requirements

Header: atldbcli.h

See Also

Reference

CRowset Class

CRowset::GetData

Other Resources

CRowset Members