WKWebsiteDataStore.RemoveDataOfTypes Method

Definition

Overloads

RemoveDataOfTypes(NSSet<NSString>, NSDate, Action)

Removes data of the specified type from the store, and passes the removed items to a completion handler.

RemoveDataOfTypes(NSSet<NSString>, WKWebsiteDataRecord[], Action)

Removes data of the specified type from the store, and passes the removed items to a completion handler.

RemoveDataOfTypes(NSSet<NSString>, NSDate, Action)

Removes data of the specified type from the store, and passes the removed items to a completion handler.

[Foundation.Export("removeDataOfTypes:modifiedSince:completionHandler:")]
public virtual void RemoveDataOfTypes (Foundation.NSSet<Foundation.NSString> websiteDataTypes, Foundation.NSDate date, Action completionHandler);
abstract member RemoveDataOfTypes : Foundation.NSSet<Foundation.NSString> * Foundation.NSDate * Action -> unit
override this.RemoveDataOfTypes : Foundation.NSSet<Foundation.NSString> * Foundation.NSDate * Action -> unit

Parameters

websiteDataTypes
NSSet<NSString>

The types of data to remove.

date
NSDate

The date after which to remove all data of the specified type.

completionHandler
Action

A handler to run after the operation complete.

Attributes

Applies to

RemoveDataOfTypes(NSSet<NSString>, WKWebsiteDataRecord[], Action)

Removes data of the specified type from the store, and passes the removed items to a completion handler.

[Foundation.Export("removeDataOfTypes:forDataRecords:completionHandler:")]
public virtual void RemoveDataOfTypes (Foundation.NSSet<Foundation.NSString> dataTypes, WebKit.WKWebsiteDataRecord[] dataRecords, Action completionHandler);
abstract member RemoveDataOfTypes : Foundation.NSSet<Foundation.NSString> * WebKit.WKWebsiteDataRecord[] * Action -> unit
override this.RemoveDataOfTypes : Foundation.NSSet<Foundation.NSString> * WebKit.WKWebsiteDataRecord[] * Action -> unit

Parameters

dataTypes
NSSet<NSString>

The types of data to remove.

dataRecords
WKWebsiteDataRecord[]

The data records from which to delete data of the specified type.

completionHandler
Action

A handler to run after the operation complete.

Attributes

Applies to