Android.Database.DatabaseUtils.CursorLongToContentValuesIfPresent Method
Reads a Long out of a column in a Cursor and writes it to a ContentValues.

Syntax

[Android.Runtime.Register("cursorLongToContentValuesIfPresent", "(Landroid/database/Cursor;Landroid/content/ContentValues;Ljava/lang/String;)V", "")]
public static void CursorLongToContentValuesIfPresent (ICursor cursor, Android.Content.ContentValues values, string column)

Parameters

cursor
The cursor to read from
values
The Android.Content.ContentValues to put the value into
column
The column to read

Remarks

Reads a Long out of a column in a Cursor and writes it to a ContentValues. Adds nothing to the ContentValues if the column isn't present or if its value is null.

[Android Documentation]

Requirements

Namespace: Android.Database
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8