CSIndexExtensionRequestHandler.ReindexSearchableItems 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
更新指定索引中識別的專案,並在完成時呼叫通知處理常式。
[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
實作
- 屬性