語言

DocumentsContract.GetTreeDocumentId(Uri) 方法

定義

從給定的 URI 中提取 via Document#COLUMN_DOCUMENT_ID

[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

參數

documentUri
Uri

從中提取識別碼的樹狀 URI。

傳回

文件在樹根的識別碼。

屬性

備註

從給定的 URI 中擷取該樹 Document#COLUMN_DOCUMENT_ID

android.provider.DocumentsContract.getTreeDocumentId(android.net.Uri)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於