Sdílet prostřednictvím


ICursor.GetDouble(Int32) Method

Definition

Returns the value of the requested column as a double.

[Android.Runtime.Register("getDouble", "(I)D", "GetGetDouble_IHandler:Android.Database.ICursorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public double GetDouble (int columnIndex);
[<Android.Runtime.Register("getDouble", "(I)D", "GetGetDouble_IHandler:Android.Database.ICursorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetDouble : int -> double

Parameters

columnIndex
Int32

the zero-based index of the target column.

Returns

the value of that column as a double.

Attributes

Remarks

Returns the value of the requested column as a double.

The result and whether this method throws an exception when the column value is null, the column type is not a floating-point type, or the floating-point value is not representable as a double value is implementation-defined.

Java documentation for android.database.Cursor.getDouble(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