Język

IResultSet.IsFirst Property

Definition

Gets if the cursor is on the first row of the ResultSet.

public bool IsFirst { [Android.Runtime.Register("isFirst", "()Z", "GetIsFirstHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; }
[<get: Android.Runtime.Register("isFirst", "()Z", "GetIsFirstHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.IsFirst : bool

Property Value

true if the cursor is on the first row; false otherwise

Attributes

Exceptions

if a database error happens.

Remarks

Retrieves whether the cursor is on the first row of this ResultSet object. Note:Support for the isFirst method is optional for ResultSets with a result set type of TYPE_FORWARD_ONLY

Java reference for java.sql.ResultSet.isFirst.

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