Dil

CursorWrapper.MoveToPosition(Int32) Method

Definition

Move the cursor to an absolute position.

[Android.Runtime.Register("moveToPosition", "(I)Z", "GetMoveToPosition_IHandler")]
public virtual bool MoveToPosition(int position);
[<Android.Runtime.Register("moveToPosition", "(I)Z", "GetMoveToPosition_IHandler")>]
abstract member MoveToPosition : int -> bool
override this.MoveToPosition : int -> bool

Parameters

position
Int32

the zero-based position to move to.

Returns

whether the requested move fully succeeded.

Implements

Attributes

Remarks

Move the cursor to an absolute position. The valid range of values is -1 <= position <= count.

This method will return true if the request destination was reachable, otherwise, it returns false.

Android reference for android.database.CursorWrapper.moveToPosition.

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