StringSearch.Collator Property  
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.
Gets the RuleBasedCollator used for the language rules. -or- Sets the RuleBasedCollator to be used for language-specific searching.
public Android.Icu.Text.RuleBasedCollator? Collator { [Android.Runtime.Register("getCollator", "()Landroid/icu/text/RuleBasedCollator;", "", ApiSince=24)] get; [Android.Runtime.Register("setCollator", "(Landroid/icu/text/RuleBasedCollator;)V", "", ApiSince=24)] set; }[<get: Android.Runtime.Register("getCollator", "()Landroid/icu/text/RuleBasedCollator;", "", ApiSince=24)>]
[<set: Android.Runtime.Register("setCollator", "(Landroid/icu/text/RuleBasedCollator;)V", "", ApiSince=24)>]
member this.Collator : Android.Icu.Text.RuleBasedCollator with get, setProperty Value
RuleBasedCollator used by this StringSearch
- Attributes
Remarks
Property getter documentation:
Gets the RuleBasedCollator used for the language rules.
Since StringSearch depends on the returned RuleBasedCollator, any changes to the RuleBasedCollator result should follow with a call to either #reset() or #setCollator(RuleBasedCollator) to ensure the correct search behavior.
Java documentation for android.icu.text.StringSearch.getCollator().
Property setter documentation:
Sets the RuleBasedCollator to be used for language-specific searching.
The iterator's position will not be changed by this method.
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.