UIDocumentBrowserViewController.ImportDocument 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.
Imports the document at documentURL
to be ajacent to neighbourUrl
.
[Foundation.Export("importDocumentAtURL:nextToDocumentAtURL:mode:completionHandler:")]
public virtual void ImportDocument (Foundation.NSUrl documentUrl, Foundation.NSUrl neighbourUrl, UIKit.UIDocumentBrowserImportMode importMode, Action<Foundation.NSUrl,Foundation.NSError> completion);
abstract member ImportDocument : Foundation.NSUrl * Foundation.NSUrl * UIKit.UIDocumentBrowserImportMode * Action<Foundation.NSUrl, Foundation.NSError> -> unit
override this.ImportDocument : Foundation.NSUrl * Foundation.NSUrl * UIKit.UIDocumentBrowserImportMode * Action<Foundation.NSUrl, Foundation.NSError> -> unit
Parameters
- documentUrl
- NSUrl
The document's current location.
- neighbourUrl
- NSUrl
The url of a document in the same file provider.
- importMode
- UIDocumentBrowserImportMode
The document import mode.
The handler to run after the operation completes. The handler receives the imported URL (null
if there is an error) and an error (null
if there was no error).
- Attributes