Overview | Methods | This Package | All Packages
Creates a new Locale object with the calling thread's current locale.
Syntax
public Locale()
public Locale( Locale locale )
public Locale( int lcid )
public Locale( int language, int sublanguage )
public Locale( int language, int sublanguage, int sort )
Parameters
locale
An existing Locale object used to define the values of this Locale object.
lcid
The Win32 Locale ID that this Locale object represents.
language
An integer value that represents the LanguageId for this locale.
sublanguage
An integer value that represents the SubLanguageId for this locale.
sort
An integer value that represents the SortId for this locale.
Remarks
This class provides a number of constructors for creating a Locale object. To define the values for the language, sublanguage, and sort parameters, use the fields of the Locale.Languages, Locale.SubLanguages, Locale.Sort classes, respectively.