DecimalFormat.ParseCaseSensitive 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 or sets the case-sensitivity setting for parsing.
public virtual bool ParseCaseSensitive { [Android.Runtime.Register("isParseCaseSensitive", "()Z", "GetIsParseCaseSensitiveHandler", ApiSince=31)] get; [Android.Runtime.Register("setParseCaseSensitive", "(Z)V", "GetSetParseCaseSensitive_ZHandler", ApiSince=31)] set; }
[<get: Android.Runtime.Register("isParseCaseSensitive", "()Z", "GetIsParseCaseSensitiveHandler", ApiSince=31)>]
[<set: Android.Runtime.Register("setParseCaseSensitive", "(Z)V", "GetSetParseCaseSensitive_ZHandler", ApiSince=31)>]
member this.ParseCaseSensitive : bool with get, set
Property Value
true to request case-sensitive matching; otherwise, false.
- Attributes
Remarks
Property getter documentation:
Returns whether case-sensitive matching is requested.
Java documentation for android.icu.text.DecimalFormat.isParseCaseSensitive().
Property setter documentation:
[icu] Controls case-sensitive matching in affixes, exponent separators, and currency codes. When case-insensitive matching is used, case folding is performed for each code point using UCharacter#foldCase.
Some currency matches can ignore case even when this property is true. For example, a U.S. currency formatter can use ParseCurrency(String, ParsePosition) to parse "usd 1.00" as USD.
Java documentation for android.icu.text.DecimalFormat.setParseCaseSensitive(boolean).
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.