共用方式為


IConvertTypeImpl Class

Provides an implementation of the IConvertType interface.

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

Parameters

  • T
    Your class, derived from IConvertTypeImpl.

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.

Requirements

Header: atldb.h

See Also

Concepts

OLE DB Provider Templates (C++)

OLE DB Provider Template Architecture