语言

MockCursor.GetLong(Int32) 方法

定义

返回请求的列的值(长)。

[Android.Runtime.Register("getLong", "(I)J", "GetGetLong_IHandler")]
public virtual long GetLong(int columnIndex);
[<Android.Runtime.Register("getLong", "(I)J", "GetGetLong_IHandler")>]
abstract member GetLong : int -> int64
override this.GetLong : int -> int64

参数

columnIndex
Int32

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

返回

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

实现

特性

注解

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

适用于