DocumentsContract.FindDocumentPath(ContentResolver, Uri) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Finds the canonical path from the top of the document tree.
[Android.Runtime.Register("findDocumentPath", "(Landroid/content/ContentResolver;Landroid/net/Uri;)Landroid/provider/DocumentsContract$Path;", "", ApiSince=26)]
public static Android.Provider.DocumentsContract.Path? FindDocumentPath (Android.Content.ContentResolver content, Android.Net.Uri treeUri);
[<Android.Runtime.Register("findDocumentPath", "(Landroid/content/ContentResolver;Landroid/net/Uri;)Landroid/provider/DocumentsContract$Path;", "", ApiSince=26)>]
static member FindDocumentPath : Android.Content.ContentResolver * Android.Net.Uri -> Android.Provider.DocumentsContract.Path
Parameters
- content
- ContentResolver
- treeUri
- Uri
treeUri of the document which path is requested.
Returns
the path of the document, or null
if failed.
- Attributes
Remarks
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.