다음을 통해 공유


SearchRecentSuggestionsProvider.Update Method

Definition

This method is provided for use by the ContentResolver.

[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 override 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", "GetUpdate_Landroid_net_Uri_Landroid_content_ContentValues_Ljava_lang_String_arrayLjava_lang_String_Handler")>]
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

This method is provided for use by the ContentResolver. Do not override, or directly call from your own code.

Java documentation for android.content.SearchRecentSuggestionsProvider.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