DocumentsContract.IsChildDocument(ContentResolver, Uri, 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.
Test if a document is descendant (child, grandchild, etc) from the given parent.
[Android.Runtime.Register("isChildDocument", "(Landroid/content/ContentResolver;Landroid/net/Uri;Landroid/net/Uri;)Z", "", ApiSince=29)]
public static bool IsChildDocument (Android.Content.ContentResolver content, Android.Net.Uri parentDocumentUri, Android.Net.Uri childDocumentUri);
[<Android.Runtime.Register("isChildDocument", "(Landroid/content/ContentResolver;Landroid/net/Uri;Landroid/net/Uri;)Z", "", ApiSince=29)>]
static member IsChildDocument : Android.Content.ContentResolver * Android.Net.Uri * Android.Net.Uri -> bool
Parameters
- content
- ContentResolver
- parentDocumentUri
- Uri
parent to verify against.
- childDocumentUri
- Uri
child to verify.
Returns
if given document is a descendant of the given parent.
- Attributes
Remarks
Test if a document is descendant (child, grandchild, etc) from the given parent.
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.