ContentProviderClient.Delete 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.
Overloads
Delete(Uri, String, String[]) |
See |
Delete(Uri, Bundle) |
See |
Delete(Uri, String, String[])
See ContentProvider#delete ContentProvider.delete
[Android.Runtime.Register("delete", "(Landroid/net/Uri;Ljava/lang/String;[Ljava/lang/String;)I", "GetDelete_Landroid_net_Uri_Ljava_lang_String_arrayLjava_lang_String_Handler")]
public virtual int Delete (Android.Net.Uri url, string? selection, string[]? selectionArgs);
[<Android.Runtime.Register("delete", "(Landroid/net/Uri;Ljava/lang/String;[Ljava/lang/String;)I", "GetDelete_Landroid_net_Uri_Ljava_lang_String_arrayLjava_lang_String_Handler")>]
abstract member Delete : Android.Net.Uri * string * string[] -> int
override this.Delete : Android.Net.Uri * string * string[] -> int
Parameters
- url
- Uri
- selection
- String
- selectionArgs
- String[]
Returns
- Attributes
Exceptions
Remarks
See ContentProvider#delete ContentProvider.delete
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
Delete(Uri, Bundle)
See ContentProvider#delete ContentProvider.delete
[Android.Runtime.Register("delete", "(Landroid/net/Uri;Landroid/os/Bundle;)I", "GetDelete_Landroid_net_Uri_Landroid_os_Bundle_Handler", ApiSince=30)]
public virtual int Delete (Android.Net.Uri url, Android.OS.Bundle? extras);
[<Android.Runtime.Register("delete", "(Landroid/net/Uri;Landroid/os/Bundle;)I", "GetDelete_Landroid_net_Uri_Landroid_os_Bundle_Handler", ApiSince=30)>]
abstract member Delete : Android.Net.Uri * Android.OS.Bundle -> int
override this.Delete : Android.Net.Uri * Android.OS.Bundle -> int
Parameters
- url
- Uri
- extras
- Bundle
Returns
- Attributes
Remarks
See ContentProvider#delete ContentProvider.delete
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.