Share via


Collator.SetMaxVariable(Int32) Method

Definition

<strong>[icu]</strong> Sets the variable top to the top of the specified reordering group.

[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

Parameters

group
Int32

one of Collator.ReorderCodes.SPACE, Collator.ReorderCodes.PUNCTUATION, Collator.ReorderCodes.SYMBOL, Collator.ReorderCodes.CURRENCY; or Collator.ReorderCodes.DEFAULT to restore the default max variable group

Returns

this

Attributes

Remarks

<strong>[icu]</strong> Sets the variable top to the top of the specified reordering group. The variable top determines the highest-sorting character which is affected by the alternate handling behavior. If that attribute is set to UCOL_NON_IGNORABLE, then the variable top has no effect.

The base class implementation throws an UnsupportedOperationException.

Java documentation for android.icu.text.Collator.setMaxVariable(int).

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