DatabaseUtils.CursorLongToContentValuesIfPresent 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
讀取游標欄位中的 Long 並寫入 ContentValues。
[Android.Runtime.Register("cursorLongToContentValuesIfPresent", "(Landroid/database/Cursor;Landroid/content/ContentValues;Ljava/lang/String;)V", "")]
public static void CursorLongToContentValuesIfPresent(Android.Database.ICursor? cursor, Android.Content.ContentValues? values, string? column);
[<Android.Runtime.Register("cursorLongToContentValuesIfPresent", "(Landroid/database/Cursor;Landroid/content/ContentValues;Ljava/lang/String;)V", "")>]
static member CursorLongToContentValuesIfPresent : Android.Database.ICursor * Android.Content.ContentValues * string -> unit
參數
- cursor
- ICursor
讀取的游標
- values
- ContentValues
該把價值放進去ContentValues
- column
- String
值得一讀的專欄
- 屬性
備註
讀取游標欄位中的 Long 並寫入 ContentValues。 如果欄位不存在或其值為空,則不會對 ContentValues 有任何新增。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。