共用方式為


ICursor.IsNull(Int32) Method

Definition

Returns true if the value in the indicated column is null.

[Android.Runtime.Register("isNull", "(I)Z", "GetIsNull_IHandler:Android.Database.ICursorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool IsNull (int columnIndex);
[<Android.Runtime.Register("isNull", "(I)Z", "GetIsNull_IHandler:Android.Database.ICursorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member IsNull : int -> bool

Parameters

columnIndex
Int32

the zero-based index of the target column.

Returns

whether the column value is null.

Attributes

Remarks

Returns true if the value in the indicated column is null.

Java documentation for android.database.Cursor.isNull(int).

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