Språk

CursorWrapper.MoveToFirst Method

Definition

Move the cursor to the first row.

[Android.Runtime.Register("moveToFirst", "()Z", "GetMoveToFirstHandler")]
public virtual bool MoveToFirst();
[<Android.Runtime.Register("moveToFirst", "()Z", "GetMoveToFirstHandler")>]
abstract member MoveToFirst : unit -> bool
override this.MoveToFirst : unit -> bool

Returns

whether the move succeeded.

Implements

Attributes

Remarks

Move the cursor to the first row.

This method will return false if the cursor is empty.

Android reference for android.database.CursorWrapper.moveToFirst.

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