ICursor.MoveToPosition(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Move the cursor to an absolute position.
[Android.Runtime.Register("moveToPosition", "(I)Z", "GetMoveToPosition_IHandler:Android.Database.ICursorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool MoveToPosition (int position);
[<Android.Runtime.Register("moveToPosition", "(I)Z", "GetMoveToPosition_IHandler:Android.Database.ICursorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member MoveToPosition : int -> bool
Parameters
- position
- Int32
the zero-based position to move to.
Returns
whether the requested move fully succeeded.
- 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.
Java documentation for android.database.Cursor.moveToPosition(int)
.
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.