Android.Content.ContentResolver.Insert Method
Inserts a row into a table at the given URL.

Syntax

[Android.Runtime.Register("insert", "(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri;", "")]
public Android.Net.Uri Insert (Android.Net.Uri url, ContentValues values)

Parameters

url
The URL of the table to insert into.
values
The initial values for the newly inserted row. The key is the column name for the field. Passing an empty ContentValues will create an empty row.

Returns

Documentation for this section has not yet been entered.

Remarks

Inserts a row into a table at the given URL. If the content provider supports transactions the insertion will be atomic.

[Android Documentation]

Requirements

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