Name Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the culture name in the format languagecode2-country/regioncode2.

Namespace:  System.Globalization
Assembly:  mscorlib (in mscorlib.dll)

public virtual string Name { get; }

Property Value

Type: System..::..String
The culture name in the format languagecode2-country/regioncode2, where languagecode2 is a lowercase two-letter code derived from ISO 639-1 and country/regioncode2 is an uppercase two-letter code derived from ISO 3166.

The CultureInfo..::..Name property follows the naming standards provided in the CultureInfo class topic. It returns the short form of the culture name that excludes any indication of an alternate sort order. For example, if you instantiate a CultureInfo object by using the string "de-DE_phoneb" to reflect an alternate sort order, the Name property returns "de-DE".

To get the full name of the culture, you should use the DisplayName, EnglishName, or NativeName property.

Show: