共用方式為


IColumnsInfoImpl::MapColumnIDs

 

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::MapColumnIDs.

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

Syntax

  
      STDMETHOD (MapColumnIDs)(  
   DBORDINAL cColumnIDs,  
   const DBID rgColumnIDs[],  
   DBORDINAL rgColumns[]   
);  

Parameters

See IColumnsInfo::MapColumnIDs in the OLE DB Programmer's Reference.

Requirements

Header: atldb.h

See Also

IColumnsInfoImpl Class
IColumnsInfoImpl::GetColumnInfo