CDynamicAccessor::GetOrdinal

bool GetOrdinal( TCHAR* pColumnName, ULONG* pOrdinal ) const;

Return Value

Returns true if a column with the specified name is found. Otherwise, this function returns false.

Parameters

pColumnName

[in] A pointer to the character string containing the column name.

pOrdinal

[out] A pointer to the column number.

Remarks

Call this function to retrieve the column number given a column name.

CDynamicAccessor OverviewClass Members