Sdílet prostřednictvím


MockContentProvider.Delete(Uri, String, String[]) Method

Definition

Implement this to handle requests to delete one or more rows.

[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 override int Delete (Android.Net.Uri? uri, 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")>]
override this.Delete : Android.Net.Uri * string * string[] -> int

Parameters

uri
Uri

The full URI to query, including a row ID (if a specific record is requested).

selection
String

An optional restriction to apply to rows when deleting.

selectionArgs
String[]

Returns

Attributes

Remarks

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