UIDocumentBrowserViewController.RevealDocumentAsync(NSUrl, Boolean) 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
.
public virtual System.Threading.Tasks.Task<Foundation.NSUrl> RevealDocumentAsync (Foundation.NSUrl url, bool importIfNeeded);
abstract member RevealDocumentAsync : Foundation.NSUrl * bool -> System.Threading.Tasks.Task<Foundation.NSUrl>
override this.RevealDocumentAsync : Foundation.NSUrl * bool -> System.Threading.Tasks.Task<Foundation.NSUrl>
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.
Returns
A task that represents the asynchronous RevealDocument operation. The value of the TResult parameter is of type System.Action<Foundation.NSUrl,Foundation.NSError>.