IRowsetChange.DeleteRows(Int32, Int32, Int32[], Int32[]) 方法

定义

删除行。

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

参数

hChapterReserved
Int32

章节句柄。

cRows
Int32

要删除的行数。

rghRows
Int32[]

要删除的行的句柄数组。

rgRowStatus
Int32[]

包含 cRows 元素的数组,用于返回指示 rghRows 中指定的每行状态的值。

注解

注意

Microsoft.VisualBasic.Compatibility.VB6 命名空间中的函数和对象用于工具从 Visual Basic 6.0 升级到 Visual Basic 2008。 多数情况下,这些函数和对象可再现 .NET Framework 中其他命名空间的功能。 只有当 Visual Basic 6.0 代码模型与 .NET Framework 实现有显著区别时,才必须使用这些函数和对象。

适用于