Share via


SQLiteRawStatement.GetParameterIndex(String) Method

Definition

Return the index of the parameter with specified name.

[Android.Runtime.Register("getParameterIndex", "(Ljava/lang/String;)I", "", ApiSince=35)]
public int GetParameterIndex (string name);
[<Android.Runtime.Register("getParameterIndex", "(Ljava/lang/String;)I", "", ApiSince=35)>]
member this.GetParameterIndex : string -> int

Parameters

name
String

The name of a parameter.

Returns

The index of the parameter or 0 if the name does not identify a parameter.

Attributes

Remarks

Return the index of the parameter with specified name. If the name does not match any parameter, 0 is returned.

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