Editar

Compartilhar via


NSFileProviderExtension.ReparentItemAsync(String, String, String) Method

Definition

When implemented by the developer, moves the identified item to a new name under a new parent.

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

newName
String

The new name for the item.

Returns

A task that represents the asynchronous ReparentItem 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