Metode Api.JetGotoSecondaryIndexBookmark

Memposisikan kursor ke entri indeks yang terkait dengan bookmark indeks sekunder yang ditentukan. Bookmark indeks sekunder harus digunakan dengan indeks yang sama di atas tabel yang sama tempat awalnya diambil. Bookmark indeks sekunder untuk entri indeks dapat diambil menggunakan JetGotoSecondaryIndexBookmark(JET_SESID, JET_TABLEID, [], Int32, [], Int32, GotoSecondaryIndexBookmarkGrbit).

Namespace:Microsoft.Isam.Esent.Interop
Majelis: Microsoft.Isam.Esent.Interop (dalam Microsoft.Isam.Esent.Interop.dll)

Sintaks

'Declaration
Public Shared Sub JetGotoSecondaryIndexBookmark ( _
    sesid As JET_SESID, _
    tableid As JET_TABLEID, _
    secondaryKey As Byte(), _
    secondaryKeySize As Integer, _
    primaryKey As Byte(), _
    primaryKeySize As Integer, _
    grbit As GotoSecondaryIndexBookmarkGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim secondaryKey As Byte()
Dim secondaryKeySize As Integer
Dim primaryKey As Byte()
Dim primaryKeySize As Integer
Dim grbit As GotoSecondaryIndexBookmarkGrbitApi.JetGotoSecondaryIndexBookmark(sesid, _
    tableid, secondaryKey, secondaryKeySize, _
    primaryKey, primaryKeySize, grbit)
public static void JetGotoSecondaryIndexBookmark(
    JET_SESID sesid,
    JET_TABLEID tableid,
    byte[] secondaryKey,
    int secondaryKeySize,
    byte[] primaryKey,
    int primaryKeySize,
    GotoSecondaryIndexBookmarkGrbit grbit
)

Parameter

  • secondaryKey
    Jenis: []

    Buffer yang berisi kunci sekunder.

  • secondaryKeySize
    Jenis: System.Int32

    Ukuran kunci sekunder.

  • primaryKey
    Jenis: []

    Buffer yang berisi kunci primer.

Lihat juga

Referensi

Kelas Api

Anggota api

Namespace Microsoft.Isam.Esent.Interop