Api.MakeKey method (JET_SESID, JET_TABLEID, Int16, 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 Short, _
grbit As MakeKeyGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim data As Short
Dim grbit As MakeKeyGrbitApi.MakeKey(sesid, tableid, data, _
grbit)
public static void MakeKey(
JET_SESID sesid,
JET_TABLEID tableid,
short 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: System.Int16Column data for the current key column of the current index.
grbit
Type: Microsoft.Isam.Esent.Interop.MakeKeyGrbitKey options.