Partager via


IConvertTypeImpl::CanConvert

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at 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.

Requirements

Header: atldb.h

See Also

IConvertTypeImpl Class