CDynamicAccessor::GetLength
Retrieves the length of the specified column.
bool GetLength(
DBORDINAL nColumn,
DBLENGTH* pLength
) const throw( );
bool GetLength(
const CHAR* pColumnName,
DBLENGTH* pLength
) const throw( );
bool GetLength(
const WCHAR* pColumnName,
DBLENGTH* pLength
) const throw( );
Параметры
nColumn
[in] The column number. Column numbers start with 1. A value of 0 refers to the bookmark column, if any.pColumnName
[in] A pointer to a character string containing the column name.pLength
[out] A pointer to the integer containing the length of the column in bytes.
Возвращаемое значение
Returns true if the specified column is found. Otherwise, this function returns false.
Заметки
The first override takes the column number, and the second and third overrides take the column name in ANSI or Unicode format, respectively.
Требования
Header: atldbcli.h