System.Globalization.CultureInfo.Name Property

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

Syntax

public virtual string Name { get; }

Value

Documentation for this section has not yet been entered.

Remarks

For a list of predefined culture names and identifiers that the CultureInfo.Name property can return, see the tp://go.microsoft.com/fwlink/?LinkId=200048 at the Go Global Developer Center. Note that culture names are subject to change, and that they also can reflect the names of custom cultures.

The CultureInfo.Name property follows the naming standards provided in the System.Globalization.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 System.Globalization.CultureInfo object by using the string "de-DE_phoneb" to reflect an alternate sort order, the CultureInfo.Name property returns "de-DE".

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

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0