共用方式為


CDynamicAccessor::GetColumnType

若要取得特定資料行的資料型別

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

參數

  • nColumn
    [in] 資料行編號。 資料行編號從 1 開始。 值為 0 表示書籤資料行,如果有的話。

  • pType
    [out] 特定資料欄中型別的指標。

傳回值

如果成功則傳回 true,失敗則傳回 false

需求

標題: atldbcli.h

請參閱

參考

CDynamicAccessor 類別

DBTYPE