Android.Database.Sqlite.SQLiteDatabase.Update Method
Convenience method for updating rows in the database.

Syntax

[Android.Runtime.Register("update", "(Ljava/lang/String;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)I", "GetUpdate_Ljava_lang_String_Landroid_content_ContentValues_Ljava_lang_String_arrayLjava_lang_String_Handler")]
public virtual int Update (string table, Android.Content.ContentValues values, string whereClause, string[] whereArgs)

Parameters

table
the table to update in
values
a map from column names to new column values. null is a valid value that will be translated to NULL.
whereClause
the optional WHERE clause to apply when updating. Passing null will update all rows.
whereArgs
You may include ?s in the where clause, which will be replaced by the values from whereArgs. The values will be bound as Strings.

Returns

Documentation for this section has not yet been entered.

Remarks

Convenience method for updating rows in the database.

[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