DocumentsProvider.CopyDocument(String, String) 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.
Copy the requested document or a document tree.
[Android.Runtime.Register("copyDocument", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "GetCopyDocument_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=24)]
public virtual string? CopyDocument (string? sourceDocumentId, string? targetParentDocumentId);
[<Android.Runtime.Register("copyDocument", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "GetCopyDocument_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=24)>]
abstract member CopyDocument : string * string -> string
override this.CopyDocument : string * string -> string
Parameters
- sourceDocumentId
- String
the document to copy.
- targetParentDocumentId
- String
the target document to be copied into as a child.
Returns
- Attributes
Remarks
Copy the requested document or a document tree.
Copies a document including all child documents to another location within the same document provider. Upon completion returns the document id of the copied document at the target destination. null
must never be returned.
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.