Språk

ICursor.IsBeforeFirst Property

Definition

Indicates whether the cursor is before the first row or, for some implementations, empty.

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

Property Value

Whether the cursor is before the first row. Some implementations also return true when the cursor is empty.

Attributes

Remarks

An empty AbstractCursor returns true regardless of its position.

Android reference for android.database.Cursor.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