語言

AppSearchSchema.DocumentPropertyConfig.ShouldIndexNestedProperties 方法

定義

回傳巢狀文件中的屬性是否應依照該文件的結構進行索引。

[Android.Runtime.Register("shouldIndexNestedProperties", "()Z", "", ApiSince=31)]
public bool ShouldIndexNestedProperties();
[<Android.Runtime.Register("shouldIndexNestedProperties", "()Z", "", ApiSince=31)>]
member this.ShouldIndexNestedProperties : unit -> bool

傳回

true 如果啟用了巢狀屬性的自動索引;否則, false。

屬性

備註

回傳巢狀文件中的屬性是否應依照該文件的結構進行索引。

若為 false,巢狀屬性不會依巢狀結構自動索引。 明確選取的巢狀屬性仍可被索引。

Java 文件 android.app.appsearch.AppSearchSchema.DocumentPropertyConfig.shouldIndexNestedProperties()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於