System.Globalization Namespace CultureInfo Class
Gets the culture name in the format "<languagecode2>-<country/regioncode2>".
[ VB ]
Overridable Public ReadOnly Property Name As String
[ C# ]
public virtual string Name {get;}
[ C++ ]
public: __property virtual String* get_Name ( );
[ JScript ]
function get Name ( ) : 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 RFC 1766 standard 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. For example, the Name for the specific culture U.S. English is "en-US".
If the culture is a neutral culture, its Name is in the format "<languagecode2>". For example, the Name for the neutral culture English is "en".
The predefined CultureInfo names are listed in the CultureInfo class topic.
To get the full name of the culture, use DisplayName, EnglishName, or NativeName.
The below shows the Name used for each of the available cultures.
Show me
CultureInfo Members DisplayName NativeName EnglishName TwoLetterISOLanguageName ThreeLetterISOLanguageName ThreeLetterWindowsLanguageName