Get locale with specified ISO code.
This code is a combination of "ISO 639-1" (language code)
and "ISO 3166-1 alpha-2" (country code).
E.g. en-GB and sv-SE.
Language codes are matched to first locale of the same language.
For example "en" may be matched to "en-GB".
Namespace: ArtDatabanken.DataAssembly: ArtDatabanken.Data (in ArtDatabanken.Data.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax public ILocale Get(
string isoCode
)
Public Function Get (
isoCode As String
) As ILocale
public:
ILocale^ Get(
String^ isoCode
)
member Get :
isoCode : string -> ILocale
Parameters
- isoCode
- Type: SystemString
ISO code of locale.
Return Value
Type:
ILocaleRequested locale.
Exceptions See Also