IResultSet.First Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Moves the cursor to the first row in
this ResultSet
object.
[Android.Runtime.Register("first", "()Z", "GetFirstHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool First ();
[<Android.Runtime.Register("first", "()Z", "GetFirstHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member First : 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 a database error happens.
Remarks
Moves the cursor to the first row in this ResultSet
object.
Added in 1.2.
Java documentation for java.sql.ResultSet.first()
.
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.