Skip to content

Latest commit

 

History

History
65 lines (43 loc) · 1.81 KB

File metadata and controls

65 lines (43 loc) · 1.81 KB
description Learn more about: IConvertTypeImpl Class
title IConvertTypeImpl Class
ms.date 11/04/2016
f1_keywords
ATL.IConvertTypeImpl<T>
IConvertTypeImpl
ATL.IConvertTypeImpl
ATL::IConvertTypeImpl
ATL::IConvertTypeImpl<T>
IConvertTypeImpl.CanConvert
CanConvert
IConvertTypeImpl::CanConvert
helpviewer_keywords
IConvertTypeImpl class
CanConvert method
ms.assetid 7f81e79e-7d3f-4cbe-b93c-d632a94b15f6

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

Name Description
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