Udostępnij za pośrednictwem


DatabaseUtils.CursorStringToInsertHelper Method

Definition

Reads a String out of a field in a Cursor and writes it to an InsertHelper.

[Android.Runtime.Register("cursorStringToInsertHelper", "(Landroid/database/Cursor;Ljava/lang/String;Landroid/database/DatabaseUtils$InsertHelper;I)V", "")]
public static void CursorStringToInsertHelper (Android.Database.ICursor? cursor, string? field, Android.Database.DatabaseUtils.InsertHelper? inserter, int index);
[<Android.Runtime.Register("cursorStringToInsertHelper", "(Landroid/database/Cursor;Ljava/lang/String;Landroid/database/DatabaseUtils$InsertHelper;I)V", "")>]
static member CursorStringToInsertHelper : Android.Database.ICursor * string * Android.Database.DatabaseUtils.InsertHelper * int -> unit

Parameters

cursor
ICursor

The cursor to read from

field
String

The TEXT field to read

inserter
DatabaseUtils.InsertHelper

The InsertHelper to bind into

index
Int32

the index of the bind entry in the InsertHelper

Attributes

Remarks

Java documentation for android.database.DatabaseUtils.cursorStringToInsertHelper(android.database.Cursor, java.lang.String, android.database.InsertHelper, int).

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