ICursor.GetColumnName(Int32) Method

Definition

Returns the column name at the given zero-based column index.

[Android.Runtime.Register("getColumnName", "(I)Ljava/lang/String;", "GetGetColumnName_IHandler:Android.Database.ICursorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public string? GetColumnName (int columnIndex);
[<Android.Runtime.Register("getColumnName", "(I)Ljava/lang/String;", "GetGetColumnName_IHandler:Android.Database.ICursorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetColumnName : int -> string

Parameters

columnIndex
Int32

the zero-based index of the target column.

Returns

the column name for the given column index.

Attributes

Remarks

Returns the column name at the given zero-based column index.

Java documentation for android.database.Cursor.getColumnName(int).

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