ContentProviderClient.Delete Method

Definition

Overloads

Delete(Uri, String, String[])

See ContentProvider#delete ContentProvider.delete

Delete(Uri, Bundle)

See ContentProvider#delete ContentProvider.delete

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

Java documentation for android.content.ContentProviderClient.delete(android.net.Uri, 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

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

Java documentation for android.content.ContentProviderClient.delete(android.net.Uri, android.os.Bundle).

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