次の方法で共有


IColumnsInfoImpl Class

 

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 IColumnsInfoImpl Class.

Provides an implementation of the IColumnsInfo interface.

Syntax

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

OLE DB Provider Templates
OLE DB Provider Template Architecture