ContentProviderClient.Update 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Update(Uri, ContentValues, Bundle) |
请参阅 |
Update(Uri, ContentValues, String, String[]) |
请参阅 |
Update(Uri, ContentValues, Bundle)
请参阅 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
参数
- url
- Uri
- values
- ContentValues
- extras
- Bundle
返回
- 属性
注解
请参阅 ContentProvider#update ContentProvider.update
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
适用于
Update(Uri, ContentValues, String, String[])
请参阅 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
参数
- url
- Uri
- values
- ContentValues
- selection
- String
- selectionArgs
- String[]
返回
- 属性
例外
注解
请参阅 ContentProvider#update ContentProvider.update
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。