語言

AlphabeticIndex.SetMaxLabelCount(Int32) 方法

定義

設定索引中標籤數量的上限。

[Android.Runtime.Register("setMaxLabelCount", "(I)Landroid/icu/text/AlphabeticIndex;", "", ApiSince=24)]
public Android.Icu.Text.AlphabeticIndex? SetMaxLabelCount(int maxLabelCount);
[<Android.Runtime.Register("setMaxLabelCount", "(I)Landroid/icu/text/AlphabeticIndex;", "", ApiSince=24)>]
member this.SetMaxLabelCount : int -> Android.Icu.Text.AlphabeticIndex

參數

maxLabelCount
Int32

設定最大數量的標籤。 目前,如果數量超過,則每移除一個 n 個物品以降低計數。 未來可能會有更先進的機制。

傳回

這是為了鏈式

屬性

備註

設定索引中標籤數量的上限。 桶數可以稍微大一點:參見 getBucketCount()。

Java 文件 android.icu.text.AlphabeticIndex.setMaxLabelCount(int)。

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

適用於