IRowset.AddRefRows(Int32, Int32[], Int32[], Int32[]) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将引用计数添加到现有行句柄。
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[]
要递增引用计数的行句柄数组。 每次出现在数组中时,行句柄的引用计数都会递增一个。
- refCounts
- Int32[]
一个数组,其中包含 cRows 要返回每个行句柄的新引用计数的元素。 使用者为此数组分配内存。 如果 refCounts 为 null 指针,则不返回引用计数。
- rowStatus
- Int32[]
一个数组,其中包含 cRows 一个元素,用于返回指示在 hRows中指定的每一行的状态的值。
注解
注释
Microsoft.VisualBasic.Compatibility.VB6 命名空间中的函数和对象由用于从 Visual Basic 6.0 升级到 Visual Basic 2008 的工具使用。 在大多数情况下,这些函数和对象重复了可在 .NET Framework 中的其他命名空间中找到的功能。 仅当 Visual Basic 6.0 代码模型与 .NET Framework 实现明显不同时,它们才是必需的。