Api.TrySeek メソッド
カーソル内の検索キーで指定された検索条件と指定された不等値に一致するインデックス エントリにカーソルを効率的に配置します。 検索キーは、JetMakeKey を使用して以前に構築されている必要があります。
Namespace:Microsoft.Isam.Esent.Interop
アセンブリ: Microsoft.Isam.Esent.Interop (Microsoft.Isam.Esent.Interop.dll)
構文
'Declaration
Public Shared Function TrySeek ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
grbit As SeekGrbit _
) As Boolean
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim grbit As SeekGrbit
Dim returnValue As Boolean
returnValue = Api.TrySeek(sesid, _
tableid, grbit)
public static bool TrySeek(
JET_SESID sesid,
JET_TABLEID tableid,
SeekGrbit grbit
)
パラメーター
sesid
種類: Microsoft.Isam.Esent.Interop.JET_SESID使用するセッション。
tableid
種類: Microsoft.Isam.Esent.Interop.JET_TABLEID位置を指定するカーソル。
grbit
種類: Microsoft.Isam.Esent.Interop.SeekGrbitSeek オプション。
戻り値
型: System.Boolean
条件に一致するレコードが見つかった場合は True。