共用方式為


IColumnsInfoImpl Class

Provides an implementation of the IColumnsInfo interface.

template <class T>
class ATL_NO_VTABLE IColumnsInfoImpl : 
   public IColumnsInfo,  
   public CDBIDOps

Parameters

  • T
    Your class, derived from IColumnsInfoImpl.

Members

Methods

GetColumnInfo

Returns the column metadata needed by most consumers.

MapColumnIDs

Returns an array of ordinals of the columns in a rowset that are identified by the specified column IDs.

Remarks

A mandatory interface on rowsets and commands. To modify the behavior of your provider's IColumnsInfo implementation, you need to modify the provider column map.

Requirements

Header: atldb.h

See Also

Concepts

OLE DB Provider Templates (C++)

OLE DB Provider Template Architecture