Udostępnij za pośrednictwem


CDynamicAccessor::GetColumnType

Retrieves the data type of a specified column.

bool GetColumnType( 
   DBORDINAL nColumn, 
   DBTYPE* pType  
) const throw( );

Parameters

  • nColumn
    [in] The column number. Column numbers start with 1. A value of 0 refers to the bookmark column, if any.

  • pType
    [out] A pointer to the data type of the specified column.

Return Value

Returns true on success or false on failure.

Requirements

Header: atldbcli.h

See Also

Reference

CDynamicAccessor Class

DBTYPE

Other Resources

CDynamicAccessor Members