Compartir a través de


CultureInfo.Name Property

Gets the name of the current culture, in the format "<languagecode2>-<country/regioncode2>".

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

Syntax

public virtual string Name { get; }

Property Value

The name of the current culture, 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.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

CultureInfo Class
CultureInfo Members
System.Globalization Namespace