Android.Database.DatabaseUtils.LongForQuery Method
Utility method to run the query on the db and return the value in the first column of the first row.

Syntax

[Android.Runtime.Register("longForQuery", "(Landroid/database/sqlite/SQLiteDatabase;Ljava/lang/String;[Ljava/lang/String;)J", "")]
public static long LongForQuery (Android.Database.Sqlite.SQLiteDatabase db, string query, string[] selectionArgs)

Parameters

db
Documentation for this section has not yet been entered.
query
Documentation for this section has not yet been entered.
selectionArgs
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Utility method to run the query on the db and return the value in the first column of the first row.

[Android Documentation]

Requirements

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