Share via


UIDocument.AutoSaveAsync Method

Definition

Called by the system immediately prior to automatic saving of UIDocuments with unsaved changes.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<bool> AutoSaveAsync();
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member AutoSaveAsync : unit -> System.Threading.Tasks.Task<bool>
override this.AutoSaveAsync : unit -> System.Threading.Tasks.Task<bool>

Returns

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

Attributes

Remarks

This can be used from a background thread.

Applies to