共用方式為


CRowset::GetData

Retrieves data from the rowset's copy of the row.

HRESULT GetData( ) throw( ); 
HRESULT GetData( 
   int nAccessor  
) throw( );

Parameters

  • nAccessor
    [in] The (zero-offset) index number of the accessor to use for accessing the data.

Return Value

A standard HRESULT.

Remarks

If you specify an accessor that is not an autoaccessor in BEGIN_ACCESSOR, use this method to explicitly get the data by passing the accessor number.

Requirements

Header: atldbcli.h

See Also

Reference

CRowset Class

Other Resources

CRowset Members