AppSearchSchema.DocumentPropertyConfig.Builder.SetShouldIndexNestedProperties 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
配置巢狀文件中的屬性是否應依照該文件的結構進行索引。
[Android.Runtime.Register("setShouldIndexNestedProperties", "(Z)Landroid/app/appsearch/AppSearchSchema$DocumentPropertyConfig$Builder;", "", ApiSince=31)]
public Android.App.AppSearch.AppSearchSchema.DocumentPropertyConfig.Builder SetShouldIndexNestedProperties(bool indexNestedProperties);
[<Android.Runtime.Register("setShouldIndexNestedProperties", "(Z)Landroid/app/appsearch/AppSearchSchema$DocumentPropertyConfig$Builder;", "", ApiSince=31)>]
member this.SetShouldIndexNestedProperties : bool -> Android.App.AppSearch.AppSearchSchema.DocumentPropertyConfig.Builder
參數
- indexNestedProperties
- Boolean
在此設定中是否啟用巢狀屬性的索引。
傳回
這個建商實例。
- 屬性
備註
配置巢狀文件中的屬性是否應依照該文件的結構進行索引。 若為 false,巢狀屬性不會依該結構自動索引。 若要索引巢狀文件中的部分屬性,請將此設定為 false,並使用 addIndexableNestedProperties(Collection)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。