DocumentsContract.MoveDocument(ContentResolver, Uri, 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.
Moves the given document under a new parent.
[Android.Runtime.Register("moveDocument", "(Landroid/content/ContentResolver;Landroid/net/Uri;Landroid/net/Uri;Landroid/net/Uri;)Landroid/net/Uri;", "", ApiSince=24)]
public static Android.Net.Uri? MoveDocument (Android.Content.ContentResolver content, Android.Net.Uri sourceDocumentUri, Android.Net.Uri sourceParentDocumentUri, Android.Net.Uri targetParentDocumentUri);
[<Android.Runtime.Register("moveDocument", "(Landroid/content/ContentResolver;Landroid/net/Uri;Landroid/net/Uri;Landroid/net/Uri;)Landroid/net/Uri;", "", ApiSince=24)>]
static member MoveDocument : Android.Content.ContentResolver * Android.Net.Uri * Android.Net.Uri * Android.Net.Uri -> Android.Net.Uri
Parameters
- content
- ContentResolver
- sourceDocumentUri
- Uri
document with Document#FLAG_SUPPORTS_MOVE
- sourceParentDocumentUri
- Uri
parent document of the document to move.
- targetParentDocumentUri
- Uri
document which will become a new parent of the source document.
Returns
the moved document, or null
if failed.
- Attributes
Remarks
Moves the given document under a new 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.