Api.TryMoveFirst 方法
尝试移动到表中的第一条记录。 如果表为空,则返回 false;如果遇到其他错误,则会引发异常。
Namespace:Microsoft.Isam.Esent.Interop
装配: Microsoft.Isam.Esent.Interop.dll) 中的 Microsoft.Isam.Esent.Interop (
语法
'Declaration
Public Shared Function TryMoveFirst ( _
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.TryMoveFirst(sesid, _
tableid)
public static bool TryMoveFirst(
JET_SESID sesid,
JET_TABLEID tableid
)
parameters
sesid
类型: Microsoft.Isam.Esent.Interop.JET_SESID要使用的会话。
tableid
类型: Microsoft.Isam.Esent.Interop.JET_TABLEID要定位的光标。
返回值
类型: System.Boolean
如果移动成功,则为 True。
请参阅
参考
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈