IRowset.AddRefRows(Int32, Int32[], Int32[], Int32[]) Method

Definition

Adds a reference count to an existing row handle.

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())

Parameters

cRows
Int32

The number of rows for which to increment the reference count.

hRows
Int32[]

An array of row handles for which to increment the reference count. The reference count of row handles is incremented by one for each time they appear in the array.

refCounts
Int32[]

An array with cRows elements in which to return the new reference count for each row handle. The consumer allocates memory for this array. If refCounts is a null pointer, no reference counts are returned.

rowStatus
Int32[]

An array with cRows elements in which to return values indicating the status of each row specified in hRows.

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