ContentProviderClient.Update 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
| Name | Description |
|---|---|
| Update(Uri, ContentValues, Bundle) |
See |
| Update(Uri, ContentValues, String, String[]) |
See |
Update(Uri, ContentValues, Bundle)
See ContentProvider#update ContentProvider.update
[Android.Runtime.Register("update", "(Landroid/net/Uri;Landroid/content/ContentValues;Landroid/os/Bundle;)I", "GetUpdate_Landroid_net_Uri_Landroid_content_ContentValues_Landroid_os_Bundle_Handler", ApiSince=30)]
public virtual int Update(Android.Net.Uri url, Android.Content.ContentValues? values, Android.OS.Bundle? extras);
[<Android.Runtime.Register("update", "(Landroid/net/Uri;Landroid/content/ContentValues;Landroid/os/Bundle;)I", "GetUpdate_Landroid_net_Uri_Landroid_content_ContentValues_Landroid_os_Bundle_Handler", ApiSince=30)>]
abstract member Update : Android.Net.Uri * Android.Content.ContentValues * Android.OS.Bundle -> int
override this.Update : Android.Net.Uri * Android.Content.ContentValues * Android.OS.Bundle -> int
Parameters
- url
- Uri
This value cannot be null .
- values
- ContentValues
This value may be null .
- extras
- Bundle
This value may be null .
Returns
See ContentProvider.update
- Attributes
Remarks
See ContentProvider#update ContentProvider.update
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
Update(Uri, ContentValues, String, String[])
See ContentProvider#update ContentProvider.update
[Android.Runtime.Register("update", "(Landroid/net/Uri;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)I", "GetUpdate_Landroid_net_Uri_Landroid_content_ContentValues_Ljava_lang_String_arrayLjava_lang_String_Handler")]
public virtual int Update(Android.Net.Uri url, Android.Content.ContentValues? values, string? selection, string[]? selectionArgs);
[<Android.Runtime.Register("update", "(Landroid/net/Uri;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)I", "GetUpdate_Landroid_net_Uri_Landroid_content_ContentValues_Ljava_lang_String_arrayLjava_lang_String_Handler")>]
abstract member Update : Android.Net.Uri * Android.Content.ContentValues * string * string[] -> int
override this.Update : Android.Net.Uri * Android.Content.ContentValues * string * string[] -> int
Parameters
- url
- Uri
This value cannot be null .
- values
- ContentValues
This value may be null .
- selection
- String
This value may be null .
- selectionArgs
- String[]
This value may be null .
Returns
See ContentProvider.update
- Attributes
Exceptions
Remarks
See ContentProvider#update ContentProvider.update
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.