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 實作有顯著差異時,才會需要這些函式和物件。

適用於