Api.TryMovePrevious method
Try to move to the previous record in the table. If there is not a previous record this returns false, if a different error is encountered an exception is thrown.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Function TryMovePrevious ( _
sesid As JET_SESID, _
tableid As JET_TABLEID _
) As Boolean
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim returnValue As Boolean
returnValue = Api.TryMovePrevious(sesid, _
tableid)
public static bool TryMovePrevious(
JET_SESID sesid,
JET_TABLEID tableid
)
Parameters
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session to use.
tableid
Type: Microsoft.Isam.Esent.Interop.JET_TABLEIDThe cursor to position.
Return value
Type: System.Boolean
True if the move was successful.