SliceProvider.Update(Uri, ContentValues, String, String[]) 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.
Caution
deprecated
Returns zero without updating data.
[Android.Runtime.Register("update", "(Landroid/net/Uri;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)I", "", ApiSince=28)]
[System.Obsolete("deprecated")]
public override sealed int Update(Android.Net.Uri? uri, 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", "", ApiSince=28)>]
[<System.Obsolete("deprecated")>]
override this.Update : Android.Net.Uri * Android.Content.ContentValues * string * string[] -> int
Parameters
- uri
- Uri
The URI argument. This override does not use it to update data.
- values
- ContentValues
The values argument. This override ignores it.
- selection
- String
The selection argument. This override ignores it.
- selectionArgs
- String[]
The selection arguments. This override ignores them.
Returns
Always zero.
- Attributes
Remarks
This sealed override does not support data updates. It does not apply the values or selection, or change slice content.
Android source for SliceProvider.update.