Condividi tramite


RuleBasedCollator Constructors

Definition

Overloads

RuleBasedCollator(String)

RuleBasedCollator constructor.

RuleBasedCollator(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

RuleBasedCollator(String)

RuleBasedCollator constructor.

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

Parameters

rules
String

the collation rules to build the collation table from.

Attributes

Exceptions

if rules == null.

if rules contains rules with invalid collation rule syntax.

Remarks

RuleBasedCollator constructor. This takes the table rules and builds a collation table out of them. Please see RuleBasedCollator class description for more details on the collation rule syntax.

Java documentation for java.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

RuleBasedCollator(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected RuleBasedCollator (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Text.RuleBasedCollator : nativeint * Android.Runtime.JniHandleOwnership -> Java.Text.RuleBasedCollator

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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