SearchSpec.PropertyWeights 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳用於評分的屬性權重。
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 所創建與分享的作品,並依授權條款所描述的使用進行修改。