ICursor.Close Method

Definition

Closes the Cursor, releasing all of its resources and making it completely invalid.

[Android.Runtime.Register("close", "()V", "GetCloseHandler:Android.Database.ICursorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Close ();
[<Android.Runtime.Register("close", "()V", "GetCloseHandler:Android.Database.ICursorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Close : unit -> unit

Implements

Attributes

Remarks

Closes the Cursor, releasing all of its resources and making it completely invalid. Unlike #deactivate() a call to #requery() will not make the Cursor valid again.

Java documentation for android.database.Cursor.close().

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