XMLReaderAdapter.SetLocale(Locale) Method
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.
Set the locale for error reporting.
[Android.Runtime.Register("setLocale", "(Ljava/util/Locale;)V", "GetSetLocale_Ljava_util_Locale_Handler")]
public virtual void SetLocale (Java.Util.Locale? locale);
[<Android.Runtime.Register("setLocale", "(Ljava/util/Locale;)V", "GetSetLocale_Ljava_util_Locale_Handler")>]
abstract member SetLocale : Java.Util.Locale -> unit
override this.SetLocale : Java.Util.Locale -> unit
Parameters
- locale
- Locale
the locale for error reporting.
Implements
- Attributes
Exceptions
Thrown unless overridden.
Remarks
Set the locale for error reporting.
This is not supported in SAX2, and will always throw an exception.
Java documentation for org.xml.sax.helpers.XMLReaderAdapter.setLocale(java.util.Locale)
.
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.