DocumentsProvider.FindDocumentPath(String, String) 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 for the requested document.
[Android.Runtime.Register("findDocumentPath", "(Ljava/lang/String;Ljava/lang/String;)Landroid/provider/DocumentsContract$Path;", "GetFindDocumentPath_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=26)]
public virtual Android.Provider.DocumentsContract.Path? FindDocumentPath (string? parentDocumentId, string? childDocumentId);
[<Android.Runtime.Register("findDocumentPath", "(Ljava/lang/String;Ljava/lang/String;)Landroid/provider/DocumentsContract$Path;", "GetFindDocumentPath_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=26)>]
abstract member FindDocumentPath : string * string -> Android.Provider.DocumentsContract.Path
override this.FindDocumentPath : string * string -> Android.Provider.DocumentsContract.Path
Parameters
- parentDocumentId
- String
the document from which the path starts if not null, or null to indicate a path from the root is requested.
- childDocumentId
- String
the document which path is requested.
Returns
the path of the requested document. If parentDocumentId is null returned root ID must not be null. If parentDocumentId is not null returned root ID must be null.
- 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.