Partager via


DocumentsProvider.Update(Uri, ContentValues, String, String[]) Method

Definition

Implementation is provided by the parent class.

[Android.Runtime.Register("update", "(Landroid/net/Uri;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)I", "")]
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", "")>]
override this.Update : Android.Net.Uri * Android.Content.ContentValues * string * string[] -> int

Parameters

uri
Uri

The URI to query. This can potentially have a record ID if this is an update request for a specific record.

values
ContentValues

A set of column_name/value pairs to update in the database. This must not be null.

selection
String

An optional filter to match rows to update.

selectionArgs
String[]

Returns

Attributes

Remarks

Implementation is provided by the parent class. Throws by default, and cannot be overridden.

Java documentation for android.provider.DocumentsProvider.update(android.net.Uri, android.content.ContentValues, java.lang.String, java.lang.String[]).

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