Api.MakeKey method (JET_SESID, JET_TABLEID, Byte , MakeKeyGrbit)
Constructs a search key that may then be used by JetSeek(JET_SESID, JET_TABLEID, SeekGrbit) and JetSetIndexRange(JET_SESID, JET_TABLEID, SetIndexRangeGrbit).
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Sub MakeKey ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
data As Byte(), _
grbit As MakeKeyGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim data As Byte()
Dim grbit As MakeKeyGrbitApi.MakeKey(sesid, tableid, data, _
grbit)
public static void MakeKey(
JET_SESID sesid,
JET_TABLEID tableid,
byte[] data,
MakeKeyGrbit grbit
)
Parameters
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session to use.
tableid
Type: Microsoft.Isam.Esent.Interop.JET_TABLEIDThe cursor to create the key on.
data
Type: []Column data for the current key column of the current index.
grbit
Type: Microsoft.Isam.Esent.Interop.MakeKeyGrbitKey options.