IRowset.GetNextRows(Int32, Int32, Int32, Int32, Int32[]) 方法

定義

依序取出列,記住前一個位置。

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

參數

hChapter
Int32

章節負責指定要取的排。

lRowsOffset
Int32

在取行前要跳過的行數。 提供者從列集移除的刪除列不會被計入跳過。

cRows
Int32

要取的行數。 負數表示要往回取。

cRowsObtained
Int32

一個指向記憶體的指標,用來回傳實際擷取的列數。

hRows
Int32[]

一個指向記憶體的指標,用來回傳所擷取資料列的 handle 陣列。

備註

Note

Microsoft.VisualBasic.Compatibility.VB6 命名空間中的函式與物件,供工具從 Visual Basic 6.0 升級至 Visual Basic 2008 使用。 大多數情況下,這些函式和物件會重複你在 .NET Framework 中其他命名空間中能找到的功能。 只有當 Visual Basic 6.0 的程式碼模型與 .NET Framework 實作有顯著差異時,才需要使用這些工具。

適用於