IRowset.AddRefRows(Int32, Int32[], Int32[], Int32[]) メソッド

定義

既存の行ハンドルに参照カウントを追加します。

public:
 void AddRefRows(int cRows, cli::array <int> ^ hRows, [Runtime::InteropServices::Out] cli::array <int> ^ % refCounts, [Runtime::InteropServices::Out] cli::array <int> ^ % rowStatus);
public void AddRefRows(int cRows, int[] hRows, out int[] refCounts, out int[] rowStatus);
abstract member AddRefRows : int * int[] * Int32[] * Int32[] -> unit
Public Sub AddRefRows (cRows As Integer, hRows As Integer(), ByRef refCounts As Integer(), ByRef rowStatus As Integer())

パラメーター

cRows
Int32

参照カウントをインクリメントする行数。

hRows
Int32[]

参照カウントをインクリメントする行ハンドルの配列。 行ハンドルの参照カウントは、配列に表示されるたびに 1 ずつインクリメントされます。

refCounts
Int32[]

各行ハンドルの新しい参照カウントを返す cRows 要素を含む配列。 コンシューマーはこの配列にメモリを割り当てます。 refCountsが null ポインターの場合、参照カウントは返されません。

rowStatus
Int32[]

cRowsで指定された各行の状態を示す値を返すhRows要素を含む配列。

注釈

Note

Microsoft.VisualBasic.Compatibility.VB6 名前空間の関数とオブジェクトは、Visual Basic 6.0 から Visual Basic 2008 にアップグレードするためのツールで使用するために提供されています。 ほとんどの場合、これらの関数とオブジェクトは、.NET Framework の他の名前空間で見つけることができる機能を複製します。 これらは、Visual Basic 6.0 コード モデルが .NET Framework の実装と大きく異なる場合にのみ必要です。

適用対象