DatabaseUtils.CursorDoubleToContentValues Method

Definition

Reads a Double out of a field in a Cursor and writes it to a Map.

[Android.Runtime.Register("cursorDoubleToContentValues", "(Landroid/database/Cursor;Ljava/lang/String;Landroid/content/ContentValues;Ljava/lang/String;)V", "")]
public static void CursorDoubleToContentValues (Android.Database.ICursor? cursor, string? field, Android.Content.ContentValues? values, string? key);
[<Android.Runtime.Register("cursorDoubleToContentValues", "(Landroid/database/Cursor;Ljava/lang/String;Landroid/content/ContentValues;Ljava/lang/String;)V", "")>]
static member CursorDoubleToContentValues : Android.Database.ICursor * string * Android.Content.ContentValues * string -> unit

Parameters

cursor
ICursor

The cursor to read from

field
String

The REAL field to read

values
ContentValues

The ContentValues to put the value into

key
String

The key to store the value with in the map

Attributes

Remarks

Reads a Double out of a field in a Cursor and writes it to a Map.

Java documentation for android.database.DatabaseUtils.cursorDoubleToContentValues(android.database.Cursor, java.lang.String, android.content.ContentValues, java.lang.String).

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