UIDocument.RevertToContentsOfUrl(NSUrl, UIOperationHandler) 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.
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.