DatabaseUtils.CursorStringToContentValues 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
CursorStringToContentValues(ICursor, String, ContentValues) |
Reads a String out of a field in a Cursor and writes it to a Map. |
CursorStringToContentValues(ICursor, String, ContentValues, String) |
Reads a String out of a field in a Cursor and writes it to a Map. |
CursorStringToContentValues(ICursor, String, ContentValues)
Reads a String out of a field in a Cursor and writes it to a Map.
[Android.Runtime.Register("cursorStringToContentValues", "(Landroid/database/Cursor;Ljava/lang/String;Landroid/content/ContentValues;)V", "")]
public static void CursorStringToContentValues (Android.Database.ICursor? cursor, string? field, Android.Content.ContentValues? values);
[<Android.Runtime.Register("cursorStringToContentValues", "(Landroid/database/Cursor;Ljava/lang/String;Landroid/content/ContentValues;)V", "")>]
static member CursorStringToContentValues : Android.Database.ICursor * string * Android.Content.ContentValues -> unit
Parameters
- cursor
- ICursor
The cursor to read from
- field
- String
The TEXT field to read
- values
- ContentValues
The ContentValues
to put the value into, with the field as the key
- Attributes
Remarks
Reads a String 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
CursorStringToContentValues(ICursor, String, ContentValues, String)
Reads a String out of a field in a Cursor and writes it to a Map.
[Android.Runtime.Register("cursorStringToContentValues", "(Landroid/database/Cursor;Ljava/lang/String;Landroid/content/ContentValues;Ljava/lang/String;)V", "")]
public static void CursorStringToContentValues (Android.Database.ICursor? cursor, string? field, Android.Content.ContentValues? values, string? key);
[<Android.Runtime.Register("cursorStringToContentValues", "(Landroid/database/Cursor;Ljava/lang/String;Landroid/content/ContentValues;Ljava/lang/String;)V", "")>]
static member CursorStringToContentValues : Android.Database.ICursor * string * Android.Content.ContentValues * string -> unit
Parameters
- cursor
- ICursor
The cursor to read from
- field
- String
The TEXT 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 String 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.