WKWebsiteDataStore.FetchDataRecordsOfTypesAsync(NSSet<NSString>) Method

Definition

Returns data records of the specified data types, and passes them to a handler when the operation completes.

public virtual System.Threading.Tasks.Task<Foundation.NSArray> FetchDataRecordsOfTypesAsync (Foundation.NSSet<Foundation.NSString> dataTypes);
abstract member FetchDataRecordsOfTypesAsync : Foundation.NSSet<Foundation.NSString> -> System.Threading.Tasks.Task<Foundation.NSArray>
override this.FetchDataRecordsOfTypesAsync : Foundation.NSSet<Foundation.NSString> -> System.Threading.Tasks.Task<Foundation.NSArray>

Parameters

dataTypes
NSSet<NSString>

The data types for which to fetch website data.

Returns

A task that represents the asynchronous FetchDataRecordsOfTypes operation. The value of the TResult parameter is of type System.Action<Foundation.NSArray>.

Applies to