语言

MockCursor.UpdateLong(Int32, Int64) 方法

定义

引发 UnsupportedOperationException。 重写此方法以在测试中使用长整数更新列。

[Android.Runtime.Register("updateLong", "(IJ)Z", "GetUpdateLong_IJHandler")]
public virtual bool UpdateLong(int columnIndex, long value);
[<Android.Runtime.Register("updateLong", "(IJ)Z", "GetUpdateLong_IJHandler")>]
abstract member UpdateLong : int * int64 -> bool
override this.UpdateLong : int * int64 -> bool

参数

columnIndex
Int32

列的从零开始的索引。 可用于测试重写;默认的模拟实现不使用此参数。

value
Int64

列的新值。 可用于测试重写;默认的模拟实现不使用此参数。

返回

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

特性

注解

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

适用于