Freigeben über


AbstractCursor.CheckPosition Method

Definition

This function throws CursorIndexOutOfBoundsException if the cursor position is out of bounds.

[Android.Runtime.Register("checkPosition", "()V", "GetCheckPositionHandler")]
protected virtual void CheckPosition ();
[<Android.Runtime.Register("checkPosition", "()V", "GetCheckPositionHandler")>]
abstract member CheckPosition : unit -> unit
override this.CheckPosition : unit -> unit
Attributes

Exceptions

Remarks

This function throws CursorIndexOutOfBoundsException if the cursor position is out of bounds. Subclass implementations of the get functions should call this before attempting to retrieve data.

Java documentation for android.database.AbstractCursor.checkPosition().

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