Freigeben über


DatabaseUtils.InsertHelper.Bind Method

Definition

Overloads

Bind(Int32, Boolean)
Obsolete.

Bind the value to an index.

Bind(Int32, Byte[])
Obsolete.

Bind the value to an index.

Bind(Int32, Double)
Obsolete.

Bind the value to an index.

Bind(Int32, Int32)
Obsolete.

Bind the value to an index.

Bind(Int32, Int64)
Obsolete.

Bind the value to an index.

Bind(Int32, Single)
Obsolete.

Bind the value to an index.

Bind(Int32, String)
Obsolete.

Bind the value to an index.

Bind(Int32, Boolean)

Caution

deprecated

Bind the value to an index.

[Android.Runtime.Register("bind", "(IZ)V", "GetBind_IZHandler")]
[System.Obsolete("deprecated")]
public virtual void Bind (int index, bool value);
[<Android.Runtime.Register("bind", "(IZ)V", "GetBind_IZHandler")>]
[<System.Obsolete("deprecated")>]
abstract member Bind : int * bool -> unit
override this.Bind : int * bool -> unit

Parameters

index
Int32

the index of the slot to which to bind

value
Boolean

the value to bind

Attributes

Remarks

Bind the value to an index. A prepareForInsert() or prepareForReplace() without a matching execute() must have already have been called.

Java documentation for android.database.DatabaseUtils.InsertHelper.bind(int, boolean).

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

Bind(Int32, Byte[])

Caution

deprecated

Bind the value to an index.

[Android.Runtime.Register("bind", "(I[B)V", "GetBind_IarrayBHandler")]
[System.Obsolete("deprecated")]
public virtual void Bind (int index, byte[] value);
[<Android.Runtime.Register("bind", "(I[B)V", "GetBind_IarrayBHandler")>]
[<System.Obsolete("deprecated")>]
abstract member Bind : int * byte[] -> unit
override this.Bind : int * byte[] -> unit

Parameters

index
Int32

the index of the slot to which to bind

value
Byte[]

the value to bind

Attributes

Remarks

Bind the value to an index. A prepareForInsert() or prepareForReplace() without a matching execute() must have already have been called.

Java documentation for android.database.DatabaseUtils.InsertHelper.bind(int, byte[]).

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

Bind(Int32, Double)

Caution

deprecated

Bind the value to an index.

[Android.Runtime.Register("bind", "(ID)V", "GetBind_IDHandler")]
[System.Obsolete("deprecated")]
public virtual void Bind (int index, double value);
[<Android.Runtime.Register("bind", "(ID)V", "GetBind_IDHandler")>]
[<System.Obsolete("deprecated")>]
abstract member Bind : int * double -> unit
override this.Bind : int * double -> unit

Parameters

index
Int32

the index of the slot to which to bind

value
Double

the value to bind

Attributes

Remarks

Bind the value to an index. A prepareForInsert() or prepareForReplace() without a matching execute() must have already have been called.

Java documentation for android.database.DatabaseUtils.InsertHelper.bind(int, double).

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

Bind(Int32, Int32)

Caution

deprecated

Bind the value to an index.

[Android.Runtime.Register("bind", "(II)V", "GetBind_IIHandler")]
[System.Obsolete("deprecated")]
public virtual void Bind (int index, int value);
[<Android.Runtime.Register("bind", "(II)V", "GetBind_IIHandler")>]
[<System.Obsolete("deprecated")>]
abstract member Bind : int * int -> unit
override this.Bind : int * int -> unit

Parameters

index
Int32

the index of the slot to which to bind

value
Int32

the value to bind

Attributes

Remarks

Bind the value to an index. A prepareForInsert() or prepareForReplace() without a matching execute() must have already have been called.

Java documentation for android.database.DatabaseUtils.InsertHelper.bind(int, int).

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

Bind(Int32, Int64)

Caution

deprecated

Bind the value to an index.

[Android.Runtime.Register("bind", "(IJ)V", "GetBind_IJHandler")]
[System.Obsolete("deprecated")]
public virtual void Bind (int index, long value);
[<Android.Runtime.Register("bind", "(IJ)V", "GetBind_IJHandler")>]
[<System.Obsolete("deprecated")>]
abstract member Bind : int * int64 -> unit
override this.Bind : int * int64 -> unit

Parameters

index
Int32

the index of the slot to which to bind

value
Int64

the value to bind

Attributes

Remarks

Bind the value to an index. A prepareForInsert() or prepareForReplace() without a matching execute() must have already have been called.

Java documentation for android.database.DatabaseUtils.InsertHelper.bind(int, long).

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

Bind(Int32, Single)

Caution

deprecated

Bind the value to an index.

[Android.Runtime.Register("bind", "(IF)V", "GetBind_IFHandler")]
[System.Obsolete("deprecated")]
public virtual void Bind (int index, float value);
[<Android.Runtime.Register("bind", "(IF)V", "GetBind_IFHandler")>]
[<System.Obsolete("deprecated")>]
abstract member Bind : int * single -> unit
override this.Bind : int * single -> unit

Parameters

index
Int32

the index of the slot to which to bind

value
Single

the value to bind

Attributes

Remarks

Bind the value to an index. A prepareForInsert() or prepareForReplace() without a matching execute() must have already have been called.

Java documentation for android.database.DatabaseUtils.InsertHelper.bind(int, float).

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

Bind(Int32, String)

Caution

deprecated

Bind the value to an index.

[Android.Runtime.Register("bind", "(ILjava/lang/String;)V", "GetBind_ILjava_lang_String_Handler")]
[System.Obsolete("deprecated")]
public virtual void Bind (int index, string value);
[<Android.Runtime.Register("bind", "(ILjava/lang/String;)V", "GetBind_ILjava_lang_String_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member Bind : int * string -> unit
override this.Bind : int * string -> unit

Parameters

index
Int32

the index of the slot to which to bind

value
String

the value to bind

Attributes

Remarks

Bind the value to an index. A prepareForInsert() or prepareForReplace() without a matching execute() must have already have been called.

Java documentation for android.database.DatabaseUtils.InsertHelper.bind(int, java.lang.String).

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