DocumentsProvider.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.
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.
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.