System.Globalization Namespace CultureInfo Class
Returns a string containing the name of the current CultureInfo in the format "<languagecode2>-<country/regioncode2>".
[ VB ]
Overrides Public Function ToString ( ) As String
[ C# ]
public override string ToString ( );
[ C++ ]
public: String* ToString ( );
[ JScript ]
override function ToString ( ) : String;
A string containing the name of the current CultureInfo 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.
This method overrides Object.ToString.
This method returns the value of the Name property. The CultureInfo names follow 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, U.S. English is "en-US". The predefined CultureInfo names are listed in the CultureInfo class topic.
CultureInfo Members Object.ToString Name