Api.MakeKey method (JET_SESID, JET_TABLEID, String, Encoding, 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 String, _
encoding As Encoding, _
grbit As MakeKeyGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim data As String
Dim encoding As Encoding
Dim grbit As MakeKeyGrbitApi.MakeKey(sesid, tableid, data, _
encoding, grbit)
public static void MakeKey(
JET_SESID sesid,
JET_TABLEID tableid,
string data,
Encoding encoding,
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.StringColumn data for the current key column of the current index.
encoding
Type: System.Text.EncodingThe encoding used to convert the string.
grbit
Type: Microsoft.Isam.Esent.Interop.MakeKeyGrbitKey options.