Condividi tramite


ContentProviderClient.Insert Method

Definition

Overloads

Insert(Uri, ContentValues)

See ContentProvider#insert ContentProvider.insert

Insert(Uri, ContentValues, Bundle)

See ContentProvider#insert ContentProvider.insert

Insert(Uri, ContentValues)

See ContentProvider#insert ContentProvider.insert

[Android.Runtime.Register("insert", "(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri;", "GetInsert_Landroid_net_Uri_Landroid_content_ContentValues_Handler")]
public virtual Android.Net.Uri? Insert (Android.Net.Uri url, Android.Content.ContentValues? initialValues);
[<Android.Runtime.Register("insert", "(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri;", "GetInsert_Landroid_net_Uri_Landroid_content_ContentValues_Handler")>]
abstract member Insert : Android.Net.Uri * Android.Content.ContentValues -> Android.Net.Uri
override this.Insert : Android.Net.Uri * Android.Content.ContentValues -> Android.Net.Uri

Parameters

url
Uri
initialValues
ContentValues

Returns

Uri
Attributes

Exceptions

Remarks

See ContentProvider#insert ContentProvider.insert

Java documentation for android.content.ContentProviderClient.insert(android.net.Uri, android.content.ContentValues).

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

Insert(Uri, ContentValues, Bundle)

See ContentProvider#insert ContentProvider.insert

[Android.Runtime.Register("insert", "(Landroid/net/Uri;Landroid/content/ContentValues;Landroid/os/Bundle;)Landroid/net/Uri;", "GetInsert_Landroid_net_Uri_Landroid_content_ContentValues_Landroid_os_Bundle_Handler", ApiSince=30)]
public virtual Android.Net.Uri? Insert (Android.Net.Uri url, Android.Content.ContentValues? initialValues, Android.OS.Bundle? extras);
[<Android.Runtime.Register("insert", "(Landroid/net/Uri;Landroid/content/ContentValues;Landroid/os/Bundle;)Landroid/net/Uri;", "GetInsert_Landroid_net_Uri_Landroid_content_ContentValues_Landroid_os_Bundle_Handler", ApiSince=30)>]
abstract member Insert : Android.Net.Uri * Android.Content.ContentValues * Android.OS.Bundle -> Android.Net.Uri
override this.Insert : Android.Net.Uri * Android.Content.ContentValues * Android.OS.Bundle -> Android.Net.Uri

Parameters

url
Uri
initialValues
ContentValues
extras
Bundle

Returns

Uri
Attributes

Remarks

See ContentProvider#insert ContentProvider.insert

Java documentation for android.content.ContentProviderClient.insert(android.net.Uri, android.content.ContentValues, android.os.Bundle).

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