Share via


ContentUris.WithAppendedId(Uri, Int64) Method

Definition

Appends the given ID to the end of the path.

[Android.Runtime.Register("withAppendedId", "(Landroid/net/Uri;J)Landroid/net/Uri;", "")]
public static Android.Net.Uri WithAppendedId (Android.Net.Uri contentUri, long id);
[<Android.Runtime.Register("withAppendedId", "(Landroid/net/Uri;J)Landroid/net/Uri;", "")>]
static member WithAppendedId : Android.Net.Uri * int64 -> Android.Net.Uri

Parameters

contentUri
Uri

to start with

id
Int64

to append

Returns

Uri

a new URI with the given ID appended to the end of the path

Attributes

Remarks

Appends the given ID to the end of the path.

Java documentation for android.content.ContentUris.withAppendedId(android.net.Uri, long).

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