다음을 통해 공유


SQLiteRawStatement.GetColumnText(Int32) Method

Definition

Return the column value as a text.

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

Parameters

columnIndex
Int32

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

Returns

The value of the column as a string.

Attributes

Remarks

Return the column value as a text. Column indices start at 0. This throws an exception if column is not in the result.

The column value will be converted if it is not of type #SQLITE_DATA_TYPE_TEXT; see the sqlite documentation for details.

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