共用方式為


IResultSet.Last Method

Definition

Moves the cursor to the last row in this ResultSet object.

[Android.Runtime.Register("last", "()Z", "GetLastHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool Last ();
[<Android.Runtime.Register("last", "()Z", "GetLastHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Last : unit -> bool

Returns

true if the cursor is on a valid row; false if there are no rows in the result set

Attributes

Exceptions

if there is a database error.

Remarks

Moves the cursor to the last row in this ResultSet object.

Added in 1.2.

Java documentation for java.sql.ResultSet.last().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to