Edytuj

Udostępnij za pośrednictwem


UIDocumentBrowserViewController.ImportDocument Method

Definition

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.

completion
Action<NSUrl,NSError>

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

Applies to