Share via


SQLiteRawStatement.BindBlob Method

Definition

Overloads

BindBlob(Int32, Byte[])

Bind a blob to a parameter.

BindBlob(Int32, Byte[], Int32, Int32)

Bind a blob to a parameter.

BindBlob(Int32, Byte[])

Bind a blob to a parameter.

[Android.Runtime.Register("bindBlob", "(I[B)V", "", ApiSince=35)]
public void BindBlob (int parameterIndex, byte[] value);
[<Android.Runtime.Register("bindBlob", "(I[B)V", "", ApiSince=35)>]
member this.BindBlob : int * byte[] -> unit

Parameters

parameterIndex
Int32

The index of the parameter in the query. It is one-based.

value
Byte[]

The value to be bound to the parameter.

Attributes

Remarks

Bind a blob to a parameter. Parameter indices start at 1. The function throws if the parameter index is out of bounds.

Java documentation for android.database.sqlite.SQLiteRawStatement.bindBlob(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

BindBlob(Int32, Byte[], Int32, Int32)

Bind a blob to a parameter.

[Android.Runtime.Register("bindBlob", "(I[BII)V", "", ApiSince=35)]
public void BindBlob (int parameterIndex, byte[] value, int offset, int length);
[<Android.Runtime.Register("bindBlob", "(I[BII)V", "", ApiSince=35)>]
member this.BindBlob : int * byte[] * int * int -> unit

Parameters

parameterIndex
Int32

The index of the parameter in the query. It is one-based.

value
Byte[]

The value to be bound to the parameter.

offset
Int32

An offset into the value array

length
Int32

The number of bytes to bind from the value array.

Attributes

Remarks

Bind a blob to a parameter. Parameter indices start at 1. The function throws if the parameter index is out of bounds. The sub-array value[offset] to value[offset+length-1] is bound.

Java documentation for android.database.sqlite.SQLiteRawStatement.bindBlob(int, byte[], 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