AbstractCursor.Position Property
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.
Returns the current position of the cursor in the row set.
public int Position { [Android.Runtime.Register("getPosition", "()I", "")] get; }
[<get: Android.Runtime.Register("getPosition", "()I", "")>]
member this.Position : int
Property Value
the current cursor position. Value is -1 or greater
Implements
- Attributes
Remarks
Returns the current position of the cursor in the row set. The value is zero-based. When the row set is first returned the cursor will be at position -1, which is before the first row. After the last row is returned another call to next() will leave the cursor past the last entry, at a position of count().
Android reference for android.database.AbstractCursor.getPosition.
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.