次の方法で共有


DocumentsContract.IsChildDocument(ContentResolver, Uri, Uri) Method

Definition

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.

Java documentation for android.provider.DocumentsContract.isChildDocument(android.content.ContentResolver, android.net.Uri, android.net.Uri).

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.

Applies to