ICursor.Deactivate 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.
Caution
deprecated
Deactivates the Cursor, making all calls on it fail until #requery
is called.
[Android.Runtime.Register("deactivate", "()V", "GetDeactivateHandler:Android.Database.ICursorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
[System.Obsolete("deprecated")]
public void Deactivate ();
[<Android.Runtime.Register("deactivate", "()V", "GetDeactivateHandler:Android.Database.ICursorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<System.Obsolete("deprecated")>]
abstract member Deactivate : unit -> unit
- Attributes
Remarks
Deactivates the Cursor, making all calls on it fail until #requery
is called. Inactive Cursors use fewer resources than active Cursors. Calling #requery
will make the cursor active again.
This member is deprecated. Since #requery()
is deprecated, so too is this.
Java documentation for android.database.Cursor.deactivate()
.
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.