Share via


DatabaseUtils.InsertHelper.GetColumnIndex(String) Method

Definition

Caution

deprecated

Returns the index of the specified column.

[Android.Runtime.Register("getColumnIndex", "(Ljava/lang/String;)I", "GetGetColumnIndex_Ljava_lang_String_Handler")]
[System.Obsolete("deprecated")]
public virtual int GetColumnIndex (string key);
[<Android.Runtime.Register("getColumnIndex", "(Ljava/lang/String;)I", "GetGetColumnIndex_Ljava_lang_String_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member GetColumnIndex : string -> int
override this.GetColumnIndex : string -> int

Parameters

key
String

the column name

Returns

the index of the column

Attributes

Remarks

Returns the index of the specified column. This is index is suitagble for use in calls to bind().

Java documentation for android.database.DatabaseUtils.InsertHelper.getColumnIndex(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