Language

MockCursor.UpdateToNull(Int32) Method

Definition

Throws UnsupportedOperationException. Override this method to set a column to null in a test.

[Android.Runtime.Register("updateToNull", "(I)Z", "GetUpdateToNull_IHandler")]
public virtual bool UpdateToNull(int columnIndex);
[<Android.Runtime.Register("updateToNull", "(I)Z", "GetUpdateToNull_IHandler")>]
abstract member UpdateToNull : int -> bool
override this.UpdateToNull : int -> bool

Parameters

columnIndex
Int32

The zero-based index of the column. Available to a test override; the default mock implementation does not use this argument.

Returns

No value is returned. The default mock implementation throws UnsupportedOperationException; override this method to supply a test result.

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to