Partager via


ContentUris.RemoveId(Uri) Method

Definition

Removes any ID from the end of the path.

[Android.Runtime.Register("removeId", "(Landroid/net/Uri;)Landroid/net/Uri;", "", ApiSince=29)]
public static Android.Net.Uri RemoveId (Android.Net.Uri contentUri);
[<Android.Runtime.Register("removeId", "(Landroid/net/Uri;)Landroid/net/Uri;", "", ApiSince=29)>]
static member RemoveId : Android.Net.Uri -> Android.Net.Uri

Parameters

contentUri
Uri

that ends with an ID

Returns

Uri

a new URI with the ID removed from the end of the path

Attributes

Remarks

Removes any ID from the end of the path.

Java documentation for android.content.ContentUris.removeId(android.net.Uri).

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