Retrieves the key for the index entry at the current position of a cursor. Also see RetrieveKey(JET_SESID, JET_TABLEID, RetrieveKeyGrbit).
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Sub JetRetrieveKey ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
data As Byte(), _
dataSize As Integer, _
<OutAttribute> ByRef actualDataSize As Integer, _
grbit As RetrieveKeyGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim data As Byte()
Dim dataSize As Integer
Dim actualDataSize As Integer
Dim grbit As RetrieveKeyGrbitApi.JetRetrieveKey(sesid, tableid, _
data, dataSize, actualDataSize, grbit)
public static void JetRetrieveKey(
JET_SESID sesid,
JET_TABLEID tableid,
byte[] data,
int dataSize,
out int actualDataSize,
RetrieveKeyGrbit grbit
)
Parameters
-
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session to use.
-
tableid
Type: Microsoft.Isam.Esent.Interop.JET_TABLEIDThe cursor to retrieve the key from.
-
data
Type: []The buffer to retrieve the key into.
-
dataSize
Type: System.Int32The size of the buffer.
-
actualDataSize
Type: System.Int32Returns the actual size of the data.
-
grbit
Type: Microsoft.Isam.Esent.Interop.RetrieveKeyGrbitRetrieve key options.
See also
Reference
Microsoft.Isam.Esent.Interop namespace
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
