DatabaseUtils.CursorLongToContentValues Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.
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.