RuleBasedCollator Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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.