Convenience method for updating rows in the database.
Syntax
[Android.Runtime.Register("updateWithOnConflict", "(Ljava/lang/String;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;I)I", "GetUpdateWithOnConflict_Ljava_lang_String_Landroid_content_ContentValues_Ljava_lang_String_arrayLjava_lang_String_IHandler")]
public virtual
int UpdateWithOnConflict (
string table,
Android.Content.ContentValues values,
string whereClause,
string[] whereArgs, [Android.Runtime.GeneratedEnum]
Conflict conflictAlgorithm)
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.
- conflictAlgorithm
- for update conflict resolver
Returns
Documentation for this section has not yet been entered.
Remarks
Requirements
Namespace: Android.Database.Sqlite
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8