WKWebsiteDataStore.RemoveDataOfTypes 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.
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
- 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
- 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