UIKit.UIDocument.RevertToContentsOfUrlAsync Method
Reverts the UIDocument to the most recent document data stored on-disk.

Syntax

public virtual System.Threading.Tasks.Task<bool> RevertToContentsOfUrlAsync (Foundation.NSUrl url)

Parameters

url
URL address that indicates the location of a document file.

Returns

A task that represents the asynchronous RevertToContentsOfUrl operation. The value of the TResult parameter is a UIKit.UIOperationHandler.

Remarks

This can be used from a background thread.

The RevertToContentsOfUrlAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0