- uri
- The URI of the content provider to query.
- projection
- List of columns to return.
- selection
- SQL WHERE clause.
- selectionArgs
- The arguments to selection, if any ?s are pesent
- sortOrder
- SQL ORDER BY clause.
Documentation for this section has not yet been entered.
Wrapper around Android.Content.ContentResolver.Query(Android.Net.Uri, System.String[], System.String[], System.String[], System.String[]) that gives the resulting Android.Database.ICursor to call Activity.StartManagingCursor(Android.Database.ICursor) so that the activity will manage its lifecycle for you. If you are targeting NoType:android/os/Build$VERSION_CODES;Href=../../../reference/android/os/Build.VERSION_CODES.html#HONEYCOMB or later, consider instead using Android.App.LoaderManager instead, available via Activity.LoaderManager.
Warning: Do not call Android.Database.ICursor.Close on a cursor obtained using this method, because the activity will do that for you at the appropriate time. However, if you call Activity.StopManagingCursor(Android.Database.ICursor) on a cursor from a managed query, the system will not automatically close the cursor and, in that case, you must call Android.Database.ICursor.Close.