Partager via


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

Definition

Implementation is provided by the parent class.

[Android.Runtime.Register("delete", "(Landroid/net/Uri;Ljava/lang/String;[Ljava/lang/String;)I", "")]
public override sealed int Delete (Android.Net.Uri? uri, string? selection, string[]? selectionArgs);
[<Android.Runtime.Register("delete", "(Landroid/net/Uri;Ljava/lang/String;[Ljava/lang/String;)I", "")>]
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

Implementation is provided by the parent class. Throws by default, and cannot be overridden.

Java documentation for android.provider.DocumentsProvider.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

See also