CultureInfoGetCultureInfo Method (String) |
Retrieves a cached, read-only instance of a culture by using the specified culture name.
Namespace: System.GlobalizationAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static CultureInfo GetCultureInfo(
string name
)
Parameters
- name
- Type: SystemString
The name of a culture. name is not case-sensitive.
Return Value
Type:
CultureInfoA read-only instance of the specified culture.
Exceptions Exception | Condition |
---|
ArgumentNullException | name is null. |
CultureNotFoundException | name specifies a culture that is not supported. |
See Also