다음을 통해 공유


Scanner.UseLocale(Locale) Method

Definition

Sets this scanner's locale to the specified locale.

[Android.Runtime.Register("useLocale", "(Ljava/util/Locale;)Ljava/util/Scanner;", "")]
public Java.Util.Scanner? UseLocale (Java.Util.Locale? locale);
[<Android.Runtime.Register("useLocale", "(Ljava/util/Locale;)Ljava/util/Scanner;", "")>]
member this.UseLocale : Java.Util.Locale -> Java.Util.Scanner

Parameters

locale
Locale

A string specifying the locale to use

Returns

this scanner

Attributes

Remarks

Java documentation for java.util.Scanner.useLocale(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.

Applies to