Sdílet prostřednictvím


Collator.Decomposition Property

Definition

Get the decomposition mode of this Collator. -or- Set the decomposition mode of this Collator.

public virtual int Decomposition { [Android.Runtime.Register("getDecomposition", "()I", "GetGetDecompositionHandler")] get; [Android.Runtime.Register("setDecomposition", "(I)V", "GetSetDecomposition_IHandler")] set; }
[<get: Android.Runtime.Register("getDecomposition", "()I", "GetGetDecompositionHandler")>]
[<set: Android.Runtime.Register("setDecomposition", "(I)V", "GetSetDecomposition_IHandler")>]
member this.Decomposition : int with get, set

Property Value

the decomposition mode

Attributes

Exceptions

if the provided decomposition rule is not valid. This includes FULL_DECOMPOSITION.

Remarks

Property getter documentation:

Get the decomposition mode of this Collator. Decomposition mode determines how Unicode composed characters are handled. Adjusting decomposition mode allows the user to select between faster and more complete collation behavior.

The three values for decomposition mode are: <UL> <LI>NO_DECOMPOSITION, <LI>CANONICAL_DECOMPOSITION <LI>FULL_DECOMPOSITION. </UL> See the documentation for these three constants for a description of their meaning.

Java documentation for java.text.Collator.getDecomposition().

Property setter documentation:

Set the decomposition mode of this Collator. See getDecomposition for a description of decomposition mode.

Java documentation for java.text.Collator.setDecomposition(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