Edit

Share via


CSSearchableIndex.DeleteWithDomain(String[], Action<NSError>) Method

Definition

Removes all items from the specified domains and runs completionHandler after the index change is journaled.

[Foundation.Export("deleteSearchableItemsWithDomainIdentifiers:completionHandler:")]
public virtual void DeleteWithDomain (string[] domainIdentifiers, Action<Foundation.NSError> completionHandler);
abstract member DeleteWithDomain : string[] * Action<Foundation.NSError> -> unit
override this.DeleteWithDomain : string[] * Action<Foundation.NSError> -> unit

Parameters

domainIdentifiers
String[]

The domain identifier for the items to delete.

completionHandler
Action<NSError>

Handler that is called after the index change is journaled. may be null.

This parameter can be null.

Attributes

Applies to