Sdílet prostřednictvím


SQLiteProgram.BindString(Int32, String) Method

Definition

Bind a String value to this statement.

[Android.Runtime.Register("bindString", "(ILjava/lang/String;)V", "GetBindString_ILjava_lang_String_Handler")]
public virtual void BindString (int index, string? value);
[<Android.Runtime.Register("bindString", "(ILjava/lang/String;)V", "GetBindString_ILjava_lang_String_Handler")>]
abstract member BindString : int * string -> unit
override this.BindString : int * string -> unit

Parameters

index
Int32

The 1-based index to the parameter to bind

value
String

The value to bind, must not be null

Attributes

Remarks

Bind a String value to this statement. The value remains bound until #clearBindings is called.

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