UIDocumentBrowserViewController.RevealDocument 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.
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.
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