Compartir a través de


DatabaseUtils.CursorIntToContentValues Method

Definition

Overloads

CursorIntToContentValues(ICursor, String, ContentValues)

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

CursorIntToContentValues(ICursor, String, ContentValues, String)

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

CursorIntToContentValues(ICursor, String, ContentValues)

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

[Android.Runtime.Register("cursorIntToContentValues", "(Landroid/database/Cursor;Ljava/lang/String;Landroid/content/ContentValues;)V", "")]
public static void CursorIntToContentValues (Android.Database.ICursor? cursor, string? field, Android.Content.ContentValues? values);
[<Android.Runtime.Register("cursorIntToContentValues", "(Landroid/database/Cursor;Ljava/lang/String;Landroid/content/ContentValues;)V", "")>]
static member CursorIntToContentValues : 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 an Integer out of a field in a Cursor and writes it to a Map.

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

CursorIntToContentValues(ICursor, String, ContentValues, String)

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

[Android.Runtime.Register("cursorIntToContentValues", "(Landroid/database/Cursor;Ljava/lang/String;Landroid/content/ContentValues;Ljava/lang/String;)V", "")]
public static void CursorIntToContentValues (Android.Database.ICursor? cursor, string? field, Android.Content.ContentValues? values, string? key);
[<Android.Runtime.Register("cursorIntToContentValues", "(Landroid/database/Cursor;Ljava/lang/String;Landroid/content/ContentValues;Ljava/lang/String;)V", "")>]
static member CursorIntToContentValues : 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, with the field as the key

key
String

The key to store the value with in the map

Attributes

Remarks

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

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