다음을 통해 공유


SQLiteRawStatement.BindText(Int32, String) Method

Definition

Bind a string to the parameter.

[Android.Runtime.Register("bindText", "(ILjava/lang/String;)V", "", ApiSince=35)]
public void BindText (int parameterIndex, string value);
[<Android.Runtime.Register("bindText", "(ILjava/lang/String;)V", "", ApiSince=35)>]
member this.BindText : int * string -> unit

Parameters

parameterIndex
Int32

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

value
String

The value to be bound to the parameter.

Attributes

Remarks

Bind a string to the parameter. Parameter indices start at 1. The function throws if the parameter index is out of bounds. The string may not be null.

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