Android.Database.Sqlite.SQLiteDatabase.ReplaceOrThrow Method
Convenience method for replacing a row in the database.

Syntax

[Android.Runtime.Register("replaceOrThrow", "(Ljava/lang/String;Ljava/lang/String;Landroid/content/ContentValues;)J", "GetReplaceOrThrow_Ljava_lang_String_Ljava_lang_String_Landroid_content_ContentValues_Handler")]
public virtual long ReplaceOrThrow (string table, string nullColumnHack, Android.Content.ContentValues initialValues)

Parameters

table
the table in which to replace the row
nullColumnHack
optional; may be null. SQL doesn't allow inserting a completely empty row without naming at least one column name. If your provided initialValues is empty, no column names are known and an empty row can't be inserted. If not set to null, the nullColumnHack parameter provides the name of nullable column name to explicitly insert a NULL into in the case where your initialValues is empty.
initialValues
this map contains the initial column values for the row. The key

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
!:NoType:SQLException
Android.Database.SQLException

Remarks

Convenience method for replacing a row 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