CSSearchableIndex.DeleteAllAsync Method

Definition

Removes all items and runs completionHandler when finished.

public virtual System.Threading.Tasks.Task DeleteAllAsync ();
abstract member DeleteAllAsync : unit -> System.Threading.Tasks.Task
override this.DeleteAllAsync : unit -> System.Threading.Tasks.Task

Returns

A task that represents the asynchronous DeleteAll operation

Remarks

The DeleteAllAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to