Udostępnij za pośrednictwem


DatabaseUtils.BindObjectToProgram(SQLiteProgram, Int32, Object) Method

Definition

Binds the given Object to the given SQLiteProgram using the proper typing.

[Android.Runtime.Register("bindObjectToProgram", "(Landroid/database/sqlite/SQLiteProgram;ILjava/lang/Object;)V", "")]
public static void BindObjectToProgram (Android.Database.Sqlite.SQLiteProgram? prog, int index, Java.Lang.Object? value);
[<Android.Runtime.Register("bindObjectToProgram", "(Landroid/database/sqlite/SQLiteProgram;ILjava/lang/Object;)V", "")>]
static member BindObjectToProgram : Android.Database.Sqlite.SQLiteProgram * int * Java.Lang.Object -> unit

Parameters

prog
SQLiteProgram

the program to bind the object to

index
Int32

the 1-based index to bind at

value
Object

the value to bind

Attributes

Remarks

Binds the given Object to the given SQLiteProgram using the proper typing. For example, bind numbers as longs/doubles, and everything else as a string by call toString() on it.

Java documentation for android.database.DatabaseUtils.bindObjectToProgram(android.database.sqlite.SQLiteProgram, int, java.lang.Object).

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