Android.Database.Sqlite.SQLiteDatabase.RawQuery Method
Runs the provided SQL and returns a Android.Database.ICursor over the result set.

Syntax

[Android.Runtime.Register("rawQuery", "(Ljava/lang/String;[Ljava/lang/String;Landroid/os/CancellationSignal;)Landroid/database/Cursor;", "GetRawQuery_Ljava_lang_String_arrayLjava_lang_String_Landroid_os_CancellationSignal_Handler")]
public virtual Android.Database.ICursor RawQuery (string sql, string[] selectionArgs, Android.OS.CancellationSignal cancellationSignal)

Parameters

sql
the SQL query. The SQL string must not be ; terminated
selectionArgs
You may include ?s in where clause in the query, which will be replaced by the values from selectionArgs. The values will be bound as Strings.
cancellationSignal
A signal to cancel the operation in progress, or null if none. If the operation is canceled, then Android.OS.OperationCanceledException will be thrown when the query is executed.

Returns

Documentation for this section has not yet been entered.

Remarks

Runs the provided SQL and returns a Android.Database.ICursor over the result set.

[Android Documentation]

Requirements

Namespace: Android.Database.Sqlite
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16