Editar

Compartir a través de


NSFileProviderExtension.UntrashItemAsync(String, String) Method

Definition

When implemented by the developer, restores the identified item from the trash.

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

Parameters

itemIdentifier
String

The persistent identifier for the item.

parentItemIdentifier
String

The parent directory's persistent identifier.

Returns

A task that represents the asynchronous UntrashItem operation. The value of the TResult parameter is of type System.Action<FileProvider.INSFileProviderItem,Foundation.NSError>.

Attributes

Remarks

(More documentation for this node is coming)

This can be used from a background thread.

Applies to