Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » UltraLite - .NET 编程 » UltraLite .NET 2.0 API 参考 » ULTable 类 » FindPrevious 方法

 

FindPrevious() 方法

继续执行 ULTable.FindLast() 搜索,从表中的当前位置向后移动,查看上一行是否与当前索引中的某个值或整个值集完全匹配。

语法
Visual Basic
Public Function FindPrevious() As Boolean
C#
public bool FindPrevious();
返回值

如果成功则返回 true,否则返回 false。

注释

如果上一行与索引值完全匹配,则游标将停留在该行上。失败时,游标位置在第一行之前 (ULDataReader.IsBOF)。

如果在行更新过程中修改了要搜索的列值,则 FindPrevious 行为处于不确定状态。

另请参见