Compartir a través de


DatabaseUtils.InsertHelper.PrepareForInsert Method

Definition

Caution

deprecated

Prepare the InsertHelper for an insert.

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

Remarks

Prepare the InsertHelper for an insert. The pattern for this is: <ul> <li>prepareForInsert() <li>bind(index, value); <li>bind(index, value); <li>... <li>bind(index, value); <li>execute(); </ul>

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

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