NSFileProviderExtension.SetTagDataAsync(NSData, String) Method

Definition

When implemented by the developer, sets the tag data on an item.

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

Parameters

tagData
NSData

The new tag data for the item.

itemIdentifier
String

The persistent identifier for the item.

Returns

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