语言

MockCursor.GetFloat(Int32) 方法

定义

以浮点数形式返回所请求列的值。

[Android.Runtime.Register("getFloat", "(I)F", "GetGetFloat_IHandler")]
public virtual float GetFloat(int columnIndex);
[<Android.Runtime.Register("getFloat", "(I)F", "GetGetFloat_IHandler")>]
abstract member GetFloat : int -> single
override this.GetFloat : int -> single

参数

columnIndex
Int32

目标列的从零开始的索引。

返回

不返回任何值。 默认模拟实现引发 UnsupportedOperationException;重写此方法以提供测试结果。

实现

特性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于