Partager via


SQLiteRawStatement.GetColumnName(Int32) Method

Definition

Return the name of the column in the result row.

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

Parameters

columnIndex
Int32

The index of a column in the result row. It is zero-based.

Returns

The name of the column in the result row.

Attributes

Remarks

Return the name of the column in the result row. Column indices start at 0. This throws an exception if column is not in the result.

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