Skip to content

Latest commit

 

History

History
63 lines (49 loc) · 1.99 KB

File metadata and controls

63 lines (49 loc) · 1.99 KB
title IConvertTypeImpl Class | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.technology
cpp-data
ms.topic reference
f1_keywords
ATL.IConvertTypeImpl<T>
IConvertTypeImpl
ATL.IConvertTypeImpl
ATL::IConvertTypeImpl
ATL::IConvertTypeImpl<T>
IConvertTypeImpl.CanConvert
CanConvert
IConvertTypeImpl::CanConvert
dev_langs
C++
helpviewer_keywords
IConvertTypeImpl class
CanConvert method
ms.assetid 7f81e79e-7d3f-4cbe-b93c-d632a94b15f6
author mikeblome
ms.author mblome
ms.workload
cplusplus
data-storage

IConvertTypeImpl Class

Provides an implementation of the IConvertType interface.

Syntax

template <class T>  
class ATL_NO_VTABLE IConvertTypeImpl   
   : public IConvertType, public CConvertHelper  

Parameters

T
Your class, derived from IConvertTypeImpl.

Requirements

Header: atldb.h

Members

Interface Methods

CanConvert Gives information on the availability of type conversions on a command or on a rowset.

Remarks

This interface is mandatory on commands, rowsets, and index rowsets. IConvertTypeImpl implements the interface by delegating to the conversion object supplied by OLE DB.

IConvertTypeImpl::CanConvert

Gives information on the availability of type conversions on a command or on a rowset.

Syntax

STDMETHOD(CanConvert)(DBTYPE wFromType,   
   DBTYPE wToType,   
   DBCONVERTFLAGS dwConvertFlags);  

Parameters

See IConvertType::CanConvert in the OLE DB Programmer's Reference.

Remarks

Uses OLE DB data conversion in MSADC.DLL.

See Also

OLE DB Provider Templates
OLE DB Provider Template Architecture