Edytuj

Udostępnij za pośrednictwem


NSFileProviderExtension.DeleteItemAsync(String) Method

Definition

When implemented by the developer, deletes the identified item and runs a handler when the operation is complete.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task DeleteItemAsync (string itemIdentifier);
abstract member DeleteItemAsync : string -> System.Threading.Tasks.Task
override this.DeleteItemAsync : string -> System.Threading.Tasks.Task

Parameters

itemIdentifier
String

The persistent identifier for the item.

Returns

A task that represents the asynchronous DeleteItem operation

Attributes

Remarks

(More documentation for this node is coming)

This can be used from a background thread.

Applies to