Upravit

Sdílet prostřednictvím


UIDocument.RevertToContentsOfUrl(NSUrl, UIOperationHandler) Method

Definition

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

[Foundation.Export("revertToContentsOfURL:completionHandler:")]
public virtual void RevertToContentsOfUrl (Foundation.NSUrl url, UIKit.UIOperationHandler completionHandler);
abstract member RevertToContentsOfUrl : Foundation.NSUrl * UIKit.UIOperationHandler -> unit
override this.RevertToContentsOfUrl : Foundation.NSUrl * UIKit.UIOperationHandler -> unit

Parameters

url
NSUrl

URL address that indicates the location of a document file.

completionHandler
UIOperationHandler

A code action that is executed when a save operation comes to a conclusion.

This parameter can be null.

Attributes

Remarks

This can be used from a background thread.

Applies to