Android.Test.Mock.MockCursor.GetFloat Method
Returns the value of the requested column as a float.

Syntax

[Android.Runtime.Register("getFloat", "(I)F", "GetGetFloat_IHandler")]
public virtual float GetFloat (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 float.

The result and whether this method throws an exception when the column value is null, the column type is not a floating-point type, or the floating-point value is not representable as a float 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