Click or drag to resize
LocaleManagerGetLocale Method (IUserContext, String)
Get a locale object by 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.Data
Assembly: ArtDatabanken.Data (in ArtDatabanken.Data.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax
public virtual ILocale GetLocale(
	IUserContext userContext,
	string ISOCode
)

Parameters

userContext
Type: ArtDatabanken.DataIUserContext
User context.
ISOCode
Type: SystemString
ISO code for requested locale.

Return Value

Type: ILocale
Requested locale object

Implements

ILocaleManagerGetLocale(IUserContext, String)
See Also