Click or drag to resize
CultureInfoGetCultureInfo Method (Int32)
Retrieves a cached, read-only instance of a culture by using the specified culture identifier.

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static CultureInfo GetCultureInfo(
	int culture
)

Parameters

culture
Type: SystemInt32
A locale identifier (LCID).

Return Value

Type: CultureInfo
A read-only instance of the specified culture.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionculture is less than zero.
CultureNotFoundExceptionculture specifies a culture that is not supported.
See Also