| description | Learn more about: IConvertTypeImpl Class | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| title | IConvertTypeImpl Class | ||||||||
| ms.date | 11/04/2016 | ||||||||
| f1_keywords |
|
||||||||
| helpviewer_keywords |
|
||||||||
| ms.assetid | 7f81e79e-7d3f-4cbe-b93c-d632a94b15f6 |
Provides an implementation of the IConvertType interface.
template <class T>
class ATL_NO_VTABLE IConvertTypeImpl
: public IConvertType, public CConvertHelperT
Your class, derived from IConvertTypeImpl.
Header: atldb.h
| Name | Description |
|---|---|
| CanConvert | Gives information on the availability of type conversions on a command or on a rowset. |
This interface is mandatory on commands, rowsets, and index rowsets. IConvertTypeImpl implements the interface by delegating to the conversion object supplied by OLE DB.
Gives information on the availability of type conversions on a command or on a rowset.
STDMETHOD(CanConvert)(DBTYPE wFromType,
DBTYPE wToType,
DBCONVERTFLAGS dwConvertFlags);See IConvertType::CanConvert in the OLE DB Programmer's Reference.
Uses OLE DB data conversion in MSADC.DLL.
OLE DB Provider Templates
OLE DB Provider Template Architecture