Share via


DatabaseUtils.InsertHelper.PrepareForReplace Method

Definition

Caution

deprecated

Prepare the InsertHelper for a replace.

[Android.Runtime.Register("prepareForReplace", "()V", "GetPrepareForReplaceHandler")]
[System.Obsolete("deprecated")]
public virtual void PrepareForReplace ();
[<Android.Runtime.Register("prepareForReplace", "()V", "GetPrepareForReplaceHandler")>]
[<System.Obsolete("deprecated")>]
abstract member PrepareForReplace : unit -> unit
override this.PrepareForReplace : unit -> unit
Attributes

Remarks

Prepare the InsertHelper for a replace. The pattern for this is: <ul> <li>prepareForReplace() <li>bind(index, value); <li>bind(index, value); <li>... <li>bind(index, value); <li>execute(); </ul>

Java documentation for android.database.DatabaseUtils.InsertHelper.prepareForReplace().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to