DocumentsContract.DeleteDocument(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.
Delete the given document.
[Android.Runtime.Register("deleteDocument", "(Landroid/content/ContentResolver;Landroid/net/Uri;)Z", "")]
public static bool DeleteDocument (Android.Content.ContentResolver content, Android.Net.Uri documentUri);
[<Android.Runtime.Register("deleteDocument", "(Landroid/content/ContentResolver;Landroid/net/Uri;)Z", "")>]
static member DeleteDocument : Android.Content.ContentResolver * Android.Net.Uri -> bool
Parameters
- content
- ContentResolver
- documentUri
- Uri
document with Document#FLAG_SUPPORTS_DELETE
Returns
if the document was deleted successfully.
- Attributes
Remarks
Delete the given document.
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.