CalendarContract.Reminders.Query(ContentResolver, Int64, String[]) 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.
Queries all reminders associated with the given event.
[Android.Runtime.Register("query", "(Landroid/content/ContentResolver;J[Ljava/lang/String;)Landroid/database/Cursor;", "")]
public static Android.Database.ICursor? Query (Android.Content.ContentResolver? cr, long eventId, string[]? projection);
[<Android.Runtime.Register("query", "(Landroid/content/ContentResolver;J[Ljava/lang/String;)Landroid/database/Cursor;", "")>]
static member Query : Android.Content.ContentResolver * int64 * string[] -> Android.Database.ICursor
Parameters
The content resolver to use for the query
- eventId
- Int64
The id of the event to retrieve reminders for
- projection
- String[]
the columns to return in the cursor
Returns
A Cursor containing all reminders for the event
- Attributes
Remarks
Queries all reminders associated with the given event. This is a blocking call and should not be done on the UI thread.
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.