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

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

Parameters

name
Type: SystemString
The name of a culture. name is not case-sensitive.

Return Value

Type: CultureInfo
A read-only instance of the specified culture.
Exceptions
ExceptionCondition
ArgumentNullExceptionname is null.
CultureNotFoundExceptionname specifies a culture that is not supported.
See Also