Locale.FilteringMode.RejectExtendedRanges 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.
Specifies basic filtering that rejects extended language ranges when there are locales or tags to filter.
[Android.Runtime.Register("REJECT_EXTENDED_RANGES", ApiSince=26)]
public static Java.Util.Locale.FilteringMode? RejectExtendedRanges { get; }
[<Android.Runtime.Register("REJECT_EXTENDED_RANGES", ApiSince=26)>]
static member RejectExtendedRanges : Java.Util.Locale.FilteringMode
Property Value
The basic-filtering mode that rejects an extended range when there are locales or tags to filter.
- Attributes
Remarks
If the language priority list contains an extended range, the filtering method throws IllegalArgumentException. If the locale or language-tag collection is empty, the method returns an empty list instead.
Java reference for java.util.Locale.FilteringMode.REJECT_EXTENDED_RANGES.
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.