IRowPosition.GetRowPosition(Int32, Int32, Int32) 方法

定義

擷取目前的資料列位置。

public:
 void GetRowPosition([Runtime::InteropServices::Out] int % hChapter, [Runtime::InteropServices::Out] int % hRow, [Runtime::InteropServices::Out] int % dbPositionFlags);
public void GetRowPosition (out int hChapter, out int hRow, out int dbPositionFlags);
abstract member GetRowPosition : int * int * int -> unit
Public Sub GetRowPosition (ByRef hChapter As Integer, ByRef hRow As Integer, ByRef dbPositionFlags As Integer)

參數

hChapter
Int32

要在其中傳回與目前資料列相關之章節的記憶體指標。 如果資料列集未編製章節,則 hChapter 會設定為 DB_NULL_HCHAPTER。 如果輸入時 hChapter 為 null 指標,則不會傳回章節值。

hRow
Int32

要在其中傳回目前資料列位置 hRow 的記憶體指標,如果沒有目前資料列位置,則為 DB_NULL_HROW

dbPositionFlags
Int32

要在其中傳回與資料列位置相關之其他資訊的記憶體指標。

備註

注意

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

適用於