語言

Collator.SetMaxVariable(Int32) 方法

定義

<strong>[icu]</strong> 將變數頂置為指定重排序群組的頂端。

[Android.Runtime.Register("setMaxVariable", "(I)Landroid/icu/text/Collator;", "GetSetMaxVariable_IHandler", ApiSince=24)]
public virtual Android.Icu.Text.Collator? SetMaxVariable(int group);
[<Android.Runtime.Register("setMaxVariable", "(I)Landroid/icu/text/Collator;", "GetSetMaxVariable_IHandler", ApiSince=24)>]
abstract member SetMaxVariable : int -> Android.Icu.Text.Collator
override this.SetMaxVariable : int -> Android.Icu.Text.Collator

參數

group
Int32

其中 Collator.ReorderCodes.SPACE 一個,Collator.ReorderCodes.punctuation,Collator.ReorderCodes.SYMBOL,Collator.ReorderCodes.CURRENCY;或是 Collator.ReorderCodes.DEFAULT 來還原預設的最大變數群組

傳回

這

屬性

備註

<strong>[icu]</strong> 將變數頂置為指定重排序群組的頂端。 變數頂端決定了受替代處理行為影響的最高排序字元。 如果該屬性設為 UCOL_NON_IGNORABLE,那麼變數 top 就沒有影響。

基底類別實作會拋出 UnsupportedOperationException。

Java 文件 android.icu.text.Collator.setMaxVariable(int)。

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

適用於