Android.Test.Mock.MockCursor.GetLong Method
Returns the value of the requested column as a long.

Syntax

[Android.Runtime.Register("getLong", "(I)J", "GetGetLong_IHandler")]
public virtual long GetLong (int columnIndex)

Parameters

columnIndex
the zero-based index of the target column.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the value of the requested column as a long.

The result and whether this method throws an exception when the column value is null, the column type is not an integral type, or the integer value is outside the range [Long.MIN_VALUE, Long.MAX_VALUE] is implementation-defined.

[Android Documentation]

Requirements

Namespace: Android.Test.Mock
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8