Android.Database.Sqlite.SQLiteStatement.SimpleQueryForLong Method
Execute a statement that returns a 1 by 1 table with a numeric value.

Syntax

[Android.Runtime.Register("simpleQueryForLong", "()J", "GetSimpleQueryForLongHandler")]
public virtual long SimpleQueryForLong ()

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Android.Database.Sqlite.SQLiteDoneExceptionif the query returns zero rows

Remarks

Execute a statement that returns a 1 by 1 table with a numeric value. For example, SELECT COUNT(*) FROM table;

[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 1