Udostępnij za pośrednictwem


IResultSet.BeforeFirst Method

Definition

Moves the cursor to the front of this ResultSet object, just before the first row.

[Android.Runtime.Register("beforeFirst", "()V", "GetBeforeFirstHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void BeforeFirst ();
[<Android.Runtime.Register("beforeFirst", "()V", "GetBeforeFirstHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member BeforeFirst : unit -> unit
Attributes

Exceptions

if a database error happens.

Remarks

Moves the cursor to the front of this ResultSet object, just before the first row. This method has no effect if the result set contains no rows.

Added in 1.2.

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

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