DocumentsContract.IsDocumentUri(Context, 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 the given URI represents a Document
backed by a
DocumentsProvider
.
[Android.Runtime.Register("isDocumentUri", "(Landroid/content/Context;Landroid/net/Uri;)Z", "")]
public static bool IsDocumentUri (Android.Content.Context? context, Android.Net.Uri? uri);
[<Android.Runtime.Register("isDocumentUri", "(Landroid/content/Context;Landroid/net/Uri;)Z", "")>]
static member IsDocumentUri : Android.Content.Context * Android.Net.Uri -> bool
Parameters
- context
- Context
- uri
- Uri
Returns
- Attributes
Remarks
Test if the given URI represents a Document
backed by a DocumentsProvider
.
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
See also
- <xref:Android.Provider.DocumentsContract.BuildDocumentUri(System.String%2c+System.String)>
- <xref:Android.Provider.DocumentsContract.BuildDocumentUriUsingTree(Android.Net.Uri%2c+System.String)>