DocumentsContract.GetTreeDocumentId(Uri) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從給定的 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 屬性授權中所述的詞彙使用。