CursorWindow.Clear Method

Definition

Clears out the existing contents of the window, making it safe to reuse for new data.

[Android.Runtime.Register("clear", "()V", "GetClearHandler")]
public virtual void Clear ();
[<Android.Runtime.Register("clear", "()V", "GetClearHandler")>]
abstract member Clear : unit -> unit
override this.Clear : unit -> unit
Attributes

Remarks

Clears out the existing contents of the window, making it safe to reuse for new data.

The start position (#getStartPosition()), number of rows (#getNumRows()), and number of columns in the cursor are all reset to zero.

Java documentation for android.database.CursorWindow.clear().

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