インデックス内を移動してみてください。 ナビゲーションが成功した場合、このメソッドは true を返します。 このメソッドに移動するレコードがない場合は false を返します。他のエラーに対して例外がスローされます。
Namespace:Microsoft.Isam.Esent.Interop
アセンブリ: Microsoft.Isam.Esent.Interop (Microsoft.Isam.Esent.Interop.dll)
構文
'Declaration
Public Shared Function TryMove ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
move As JET_Move, _
grbit As MoveGrbit _
) As Boolean
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim move As JET_Move
Dim grbit As MoveGrbit
Dim returnValue As Boolean
returnValue = Api.TryMove(sesid, _
tableid, move, grbit)
public static bool TryMove(
JET_SESID sesid,
JET_TABLEID tableid,
JET_Move move,
MoveGrbit grbit
)
パラメーター
sesid
種類: Microsoft.Isam.Esent.Interop.JET_SESID使用するセッション。
tableid
種類: Microsoft.Isam.Esent.Interop.JET_TABLEID位置を指定するカーソル。
移動
種類: Microsoft.Isam.Esent.Interop.JET_Move移動する方向。
grbit
種類: Microsoft.Isam.Esent.Interop.MoveGrbit移動オプション。
戻り値
型: System.Boolean
移動が成功した場合は True。