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

返回值

类型: System.Boolean
如果移动成功,则为 True。

请参阅

参考

Api 类

Api 成员

Microsoft.Isam.Esent.Interop 命名空间