Språk

IResultSet.IsBeforeFirst Property

Definition

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

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

Property Value

true if the cursor is before the first row; false if the cursor is at any other position or the result set contains no rows

Attributes

Exceptions

if a database error happens.

Remarks

Retrieves whether the cursor is before the first row in this result set. Support for this property is optional when the result set type is TypeForwardOnly.

Java reference for java.sql.ResultSet.isBeforeFirst.

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