ContentProvider.BulkInsert(Uri, ContentValues[]) ContentProvider.BulkInsert(Uri, ContentValues[]) Method

Definition

Override this to handle requests to insert a set of new rows, or the default implementation will iterate over the values and call Insert(Uri, ContentValues) on each of them.

[Android.Runtime.Register("bulkInsert", "(Landroid/net/Uri;[Landroid/content/ContentValues;)I", "GetBulkInsert_Landroid_net_Uri_arrayLandroid_content_ContentValues_Handler")]
public virtual int BulkInsert (Android.Net.Uri uri, Android.Content.ContentValues[] values);
abstract member BulkInsert : Android.Net.Uri * Android.Content.ContentValues[] -> int
override this.BulkInsert : Android.Net.Uri * Android.Content.ContentValues[] -> int

Parameters

uri
Uri Uri

The content:// URI of the insertion request.

values
ContentValues[]

An array of sets of column_name/value pairs to add to the database. This must not be null.

Returns

Remarks

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