NSFileProviderExtension.RenameItemAsync(String, String) NSFileProviderExtension.RenameItemAsync(String, String) Method

Definition

When implemented by the developer, changes the name of the identified item.

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

Parameters

itemIdentifier
String String

The persistent identifier for the item.

itemName
String String

The new name for the item.

Returns

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

Remarks

(More documentation for this node is coming)

This can be used from a background thread.

Applies to