Compartilhar via


RuleBasedCollator(String) Constructor

Definition

Constructor that takes the argument rules for customization.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=24)]
public RuleBasedCollator (string? rules);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=24)>]
new Android.Icu.Text.RuleBasedCollator : string -> Android.Icu.Text.RuleBasedCollator

Parameters

rules
String

the collation rules to build the collation table from.

Attributes

Remarks

Constructor that takes the argument rules for customization. The collator will be based on the CLDR root collation, with the attributes and re-ordering of the characters specified in the argument rules.

See the User Guide's section on Collation Customization for details on the rule syntax.

Java documentation for android.icu.text.RuleBasedCollator.RuleBasedCollator(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to