共用方式為


CSIndexExtensionRequestHandler.ReindexSearchableItems 方法

定義

更新指定索引中識別的專案,並在完成時呼叫通知處理常式。

[Foundation.Export("searchableIndex:reindexSearchableItemsWithIdentifiers:acknowledgementHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void ReindexSearchableItems (CoreSpotlight.CSSearchableIndex searchableIndex, string[] identifiers, Action acknowledgementHandler);
abstract member ReindexSearchableItems : CoreSpotlight.CSSearchableIndex * string[] * Action -> unit
override this.ReindexSearchableItems : CoreSpotlight.CSSearchableIndex * string[] * Action -> unit

參數

searchableIndex
CSSearchableIndex
identifiers
String[]
acknowledgementHandler
Action

實作

屬性

適用於