Redigera

Dela via


IColumnsInfo.MapColumnIDs(Int32, DBID[], Int32[]) Method

Definition

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

public:
 void MapColumnIDs(int cColumnIDs, cli::array <Microsoft::VisualBasic::Compatibility::VB6::DBID> ^ columnIDs, cli::array <int> ^ rgColumns);
public void MapColumnIDs (int cColumnIDs, Microsoft.VisualBasic.Compatibility.VB6.DBID[] columnIDs, int[] rgColumns);
abstract member MapColumnIDs : int * Microsoft.VisualBasic.Compatibility.VB6.DBID[] * int[] -> unit
Public Sub MapColumnIDs (cColumnIDs As Integer, columnIDs As DBID(), rgColumns As Integer())

Parameters

cColumnIDs
Int32

The number of column IDs to map.

columnIDs
DBID[]

An array of IDs of the columns for which to determine the column ordinals.

rgColumns
Int32[]

An array of cColumnIDs ordinals of the columns identified by the elements of columnIDs.

Remarks

Note

Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic 2008. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

Applies to