共用方式為


ICursor.MoveToFirst Method

Definition

Move the cursor to the first row.

[Android.Runtime.Register("moveToFirst", "()Z", "GetMoveToFirstHandler:Android.Database.ICursorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool MoveToFirst ();
[<Android.Runtime.Register("moveToFirst", "()Z", "GetMoveToFirstHandler:Android.Database.ICursorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member MoveToFirst : unit -> bool

Returns

whether the move succeeded.

Attributes

Remarks

Move the cursor to the first row.

This method will return false if the cursor is empty.

Java documentation for android.database.Cursor.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