Szerkesztés

Megosztás a következőn keresztül:


UIDocumentBrowserViewController.RevealDocument Method

Definition

Reveals the document at the provided URL in the browser, and imports it if importIfNeede is true.

[Foundation.Export("revealDocumentAtURL:importIfNeeded:completion:")]
public virtual void RevealDocument (Foundation.NSUrl url, bool importIfNeeded, Action<Foundation.NSUrl,Foundation.NSError> completion);
abstract member RevealDocument : Foundation.NSUrl * bool * Action<Foundation.NSUrl, Foundation.NSError> -> unit
override this.RevealDocument : Foundation.NSUrl * bool * Action<Foundation.NSUrl, Foundation.NSError> -> unit

Parameters

url
NSUrl

The URL to the document to reveal.

importIfNeeded
Boolean

Whether the document browser should import the document if the document must be imported to be revealed.

completion
Action<NSUrl,NSError>

The handler to run after the operation completes. The handler receives the revealed URL (null if there is an error) and an error (null if there was no error).

This parameter can be null.

Attributes

Applies to