Share via


Collator.Strength Property

Definition

Returns this Collator's strength attribute. -or- Sets this Collator's strength attribute.

public virtual Android.Icu.Text.CollationStrength Strength { [Android.Runtime.Register("getStrength", "()I", "GetGetStrengthHandler", ApiSince=24)] get; [Android.Runtime.Register("setStrength", "(I)V", "GetSetStrength_IHandler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getStrength", "()I", "GetGetStrengthHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setStrength", "(I)V", "GetSetStrength_IHandler", ApiSince=24)>]
member this.Strength : Android.Icu.Text.CollationStrength with get, set

Property Value

this Collator's current strength attribute.

Attributes

Remarks

Property getter documentation:

Returns this Collator's strength attribute. The strength attribute determines the minimum level of difference considered significant. <strong>[icu] Note:</strong> This can return QUATERNARY strength, which is not supported by the JDK version.

See the Collator class description for more details.

The base class method always returns #TERTIARY. Subclasses should override it if appropriate.

Java documentation for android.icu.text.Collator.getStrength().

Property setter documentation:

Sets this Collator's strength attribute. The strength attribute determines the minimum level of difference considered significant during comparison.

The base class method does nothing. Subclasses should override it if appropriate.

See the Collator class description for an example of use.

Java documentation for android.icu.text.Collator.setStrength(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