UIKit.UIDocument.SaveAsync Method
Saves the document data to the specified location in the application sandbox.

Syntax

public virtual System.Threading.Tasks.Task<bool> SaveAsync (Foundation.NSUrl url, UIDocumentSaveOperation saveOperation)

Parameters

url
URL that indicates the location of a document file.
saveOperation
This represents a constant indicating if a document file is being written for the first time or being overwritten.

Returns

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

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