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

Syntax

[Foundation.Export("revertToContentsOfURL:completionHandler:")]
public virtual void RevertToContentsOfUrl (Foundation.NSUrl url, [ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDUIOperationHandler))] UIOperationHandler completionHandler)

Parameters

url
URL address that indicates the location of a document file.
completionHandler
A code action that is executed when a save operation comes to a conclusion.

Remarks

This can be used from a background thread.

Requirements

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