Freigeben über


DocumentsContract.GetTreeDocumentId(Uri) Method

Definition

Extract the via Document#COLUMN_DOCUMENT_ID from the given URI.

[Android.Runtime.Register("getTreeDocumentId", "(Landroid/net/Uri;)Ljava/lang/String;", "")]
public static string? GetTreeDocumentId (Android.Net.Uri? documentUri);
[<Android.Runtime.Register("getTreeDocumentId", "(Landroid/net/Uri;)Ljava/lang/String;", "")>]
static member GetTreeDocumentId : Android.Net.Uri -> string

Parameters

documentUri
Uri

Returns

Attributes

Remarks

Extract the via Document#COLUMN_DOCUMENT_ID from the given URI.

Java documentation for android.provider.DocumentsContract.getTreeDocumentId(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