Partager via


CDynamicAccessor::GetColumnType

 

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 CDynamicAccessor::GetColumnType.

Retrieves the data type of a specified column.

Syntax

  
      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

CDynamicAccessor Class
DBTYPE