DatabaseUtils.StringForQuery 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.
Overloads
StringForQuery(SQLiteStatement, String[]) |
Utility method to run the pre-compiled query and return the value in the first column of the first row. |
StringForQuery(SQLiteDatabase, String, String[]) |
Utility method to run the query on the db and return the value in the first column of the first row. |
StringForQuery(SQLiteStatement, String[])
Utility method to run the pre-compiled query and return the value in the first column of the first row.
[Android.Runtime.Register("stringForQuery", "(Landroid/database/sqlite/SQLiteStatement;[Ljava/lang/String;)Ljava/lang/String;", "")]
public static string? StringForQuery (Android.Database.Sqlite.SQLiteStatement? prog, string[]? selectionArgs);
[<Android.Runtime.Register("stringForQuery", "(Landroid/database/sqlite/SQLiteStatement;[Ljava/lang/String;)Ljava/lang/String;", "")>]
static member StringForQuery : Android.Database.Sqlite.SQLiteStatement * string[] -> string
Parameters
- prog
- SQLiteStatement
- selectionArgs
- String[]
Returns
- Attributes
Remarks
Utility method to run the pre-compiled query and return the value in the first column of the first row.
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
StringForQuery(SQLiteDatabase, String, String[])
Utility method to run the query on the db and return the value in the first column of the first row.
[Android.Runtime.Register("stringForQuery", "(Landroid/database/sqlite/SQLiteDatabase;Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;", "")]
public static string? StringForQuery (Android.Database.Sqlite.SQLiteDatabase? db, string? query, string[]? selectionArgs);
[<Android.Runtime.Register("stringForQuery", "(Landroid/database/sqlite/SQLiteDatabase;Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;", "")>]
static member StringForQuery : Android.Database.Sqlite.SQLiteDatabase * string * string[] -> string
Parameters
- query
- String
- selectionArgs
- String[]
Returns
- Attributes
Remarks
Utility method to run the query on the db and return the value in the first column of the first row.
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.