Api.MakeKey method (JET_SESID, JET_TABLEID, UInt32, MakeKeyGrbit)
Constructs a search key that may then be used by JetSeek(JET_SESID, JET_TABLEID, SeekGrbit) and JetSetIndexRange(JET_SESID, JET_TABLEID, SetIndexRangeGrbit).
This API is not CLS-compliant.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public Shared Sub MakeKey ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
data As UInteger, _
grbit As MakeKeyGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim data As UInteger
Dim grbit As MakeKeyGrbitApi.MakeKey(sesid, tableid, data, _
grbit)
[CLSCompliantAttribute(false)]
public static void MakeKey(
JET_SESID sesid,
JET_TABLEID tableid,
uint 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.UInt32Column data for the current key column of the current index.
grbit
Type: Microsoft.Isam.Esent.Interop.MakeKeyGrbitKey options.