다음을 통해 공유


SQLiteRawStatement.GetColumnLong(Int32) Method

Definition

Return the column value as a long.

[Android.Runtime.Register("getColumnLong", "(I)J", "", ApiSince=35)]
public long GetColumnLong (int columnIndex);
[<Android.Runtime.Register("getColumnLong", "(I)J", "", ApiSince=35)>]
member this.GetColumnLong : int -> int64

Parameters

columnIndex
Int32

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

Returns

The value of the column as an long.

Attributes

Remarks

Return the column value as a long. 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_INTEGER; see the sqlite documentation for details.

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