語言

SearchSpec.PropertyWeights 屬性

定義

回傳用於評分的屬性權重。

public System.Collections.Generic.IDictionary<string,System.Collections.Generic.IDictionary<string,Java.Lang.Double>> PropertyWeights { [Android.Runtime.Register("getPropertyWeights", "()Ljava/util/Map;", "", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getPropertyWeights", "()Ljava/util/Map;", "", ApiSince=34)>]
member this.PropertyWeights : System.Collections.Generic.IDictionary<string, System.Collections.Generic.IDictionary<string, Java.Lang.Double>>

屬性值

Map a 的結構型態,映射為結構型態的屬性路徑,再到該屬性要設定的權重。

屬性

備註

回傳用於評分的屬性權重。

反覆呼叫這個函式效率不高。 我寧願保留這個函式回傳的訊息 Map ,而不是多次呼叫它。

Java 文件 android.app.appsearch.SearchSpec.getPropertyWeights()。

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

適用於