Android.Database.DatabaseUtils.QueryNumEntries Method
Query the table for the number of rows in the table.

Syntax

[Android.Runtime.Register("queryNumEntries", "(Landroid/database/sqlite/SQLiteDatabase;Ljava/lang/String;Ljava/lang/String;)J", "")]
public static long QueryNumEntries (Android.Database.Sqlite.SQLiteDatabase db, string table, string selection)

Parameters

db
the database the table is in
table
the name of the table to query
selection
A filter declaring which rows to return, formatted as an SQL WHERE clause (excluding the WHERE itself). Passing null will count all rows for the given table

Returns

Documentation for this section has not yet been entered.

Remarks

Query the table for the number of rows in the table.

[Android Documentation]

Requirements

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