Api.JetGetRecordPosition method
Returns the fractional position of the current record in the current index in the form of a JET_RECPOS structure. Also see JetGotoPosition(JET_SESID, JET_TABLEID, JET_RECPOS).
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Sub JetGetRecordPosition ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
<OutAttribute> ByRef recpos As JET_RECPOS _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim recpos As JET_RECPOSApi.JetGetRecordPosition(sesid, _
tableid, recpos)
public static void JetGetRecordPosition(
JET_SESID sesid,
JET_TABLEID tableid,
out JET_RECPOS recpos
)
Parameters
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session to use.
tableid
Type: Microsoft.Isam.Esent.Interop.JET_TABLEIDThe cursor positioned on the record.
recpos
Type: Microsoft.Isam.Esent.Interop.JET_RECPOSReturns the approximate fractional position of the record.