NSFileProviderExtension.RenameItem Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When implemented by the developer, changes the name of the identified item.
[Foundation.Export("renameItemWithIdentifier:toName:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RenameItem (string itemIdentifier, string itemName, Action<FileProvider.INSFileProviderItem,Foundation.NSError> completionHandler);
abstract member RenameItem : string * string * Action<FileProvider.INSFileProviderItem, Foundation.NSError> -> unit
override this.RenameItem : string * string * Action<FileProvider.INSFileProviderItem, Foundation.NSError> -> unit
Parameters
- itemIdentifier
- String
The persistent identifier for the item.
- itemName
- String
The new name for the item.
- completionHandler
- Action<INSFileProviderItem,NSError>
A handler to run after the operation completes.
- Attributes
Remarks
(More documentation for this node is coming)
This can be used from a background thread.