ContentProviderClient.Insert Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Insert(Uri, ContentValues) |
See |
Insert(Uri, ContentValues, Bundle) |
See |
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
- Attributes
Exceptions
Remarks
See ContentProvider#insert ContentProvider.insert
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
- Attributes
Remarks
See ContentProvider#insert ContentProvider.insert
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.