DatabaseUtils.CursorLongToContentValues Method

Definition

Overloads

CursorLongToContentValues(ICursor, String, ContentValues)

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

CursorLongToContentValues(ICursor, String, ContentValues, String)

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

CursorLongToContentValues(ICursor, String, ContentValues)

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

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

Parameters

cursor
ICursor

The cursor to read from

field
String

The INTEGER field to read

values
ContentValues

The ContentValues to put the value into, with the field as the key

Attributes

Remarks

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

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

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

CursorLongToContentValues(ICursor, String, ContentValues, String)

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

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

Parameters

cursor
ICursor

The cursor to read from

field
String

The INTEGER 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 Long out of a field in a Cursor and writes it to a Map.

Java documentation for android.database.DatabaseUtils.cursorLongToContentValues(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