语言

RuleBasedCollator.UpperCaseFirst 属性

定义

如果对相应的小写字符之前排序大写字符,则返回 true。 - 或 - 设置大写字符在小写字符之前排序,反之亦然,以强度三级为单位。

public bool UpperCaseFirst { [Android.Runtime.Register("isUpperCaseFirst", "()Z", "", ApiSince=24)] get; [Android.Runtime.Register("setUpperCaseFirst", "(Z)V", "", ApiSince=24)] set; }
[<get: Android.Runtime.Register("isUpperCaseFirst", "()Z", "", ApiSince=24)>]
[<set: Android.Runtime.Register("setUpperCaseFirst", "(Z)V", "", ApiSince=24)>]
member this.UpperCaseFirst : bool with get, set

属性值

如果大写字符在小写字符之前排序,则为 true;否则为 false

特性

注解

属性 getter 文档:

如果对相应的小写字符之前排序大写字符,则返回 true。 有关详细信息,请参阅 setCaseFirst(boolean)。

Java文档android.icu.text.RuleBasedCollator.isUpperCaseFirst()。

属性 setter 文档:

设置大写字符是在小写字符之前排序,还是反之,以三元为单位。 如果为 false,则小写字符在大写字符之前排序。 如果为 true,请先对大写字符进行排序。 Collator 对象中的默认设置取决于从资源加载的区域设置数据。 对于大多数区域设置,默认值为 false,但对于其他区域设置(如“da”或“mt”),默认值可能为 true。

Java文档android.icu.text.RuleBasedCollator.setUpperCaseFirst(boolean)。

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

适用于