Api.TryMove 方法
嘗試流覽索引。 如果導覽成功,這個方法會傳回 true。 如果沒有可巡覽至此方法的記錄會傳回 false;其他錯誤將會擲回例外狀況。
Namespace:Microsoft.Isam.Esent.Interop
裝配: microsoft.Isam.Esent.Interop (in 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。
另請參閱
參考
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應