语言

Collator.SetMaxVariable(Int32) 方法

定义

[icu] 将变量顶部设置为指定重新排序组的顶部。

[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 以还原默认的最大变量组

返回

这

特性

注解

[icu] 将变量顶部设置为指定重新排序组的顶部。 变量顶部确定受备用处理行为影响的最高排序字符。 如果该属性设置为UCOL_NON_IGNORABLE,则变量顶部不起作用。

基类实现引发 UnsupportedOperationException。

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

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于