NSFileProviderExtension.SetLastUsedDateAsync(NSDate, String) Method

Definition

When implemented by the developer, sets the last used date for the identified item.

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

Parameters

lastUsedDate
NSDate

The new last used date value for the item.

itemIdentifier
String

The persistent identifier for the item.

Returns

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