System.Globalization.RegionInfo.NativeName Property

Gets the name of a country/region formatted in the native language of the country/region.

Syntax

[System.Runtime.InteropServices.ComVisible(false)]
public virtual string NativeName { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Note:

The RegionInfo.NativeName property retrieves a full culture name if the RegionInfo object is constructed using a full culture name.

We recommend that you use the culture name—for example, "en-US" for English (United States)—to access the RegionInfo.NativeName property. The string used for this property depends on the language associated with the country/region. For example, the culture names en-US for English (United States) and es-US for Spanish (United States) can retrieve different values on Windows Vista. Therefore, creating the RegionInfo object with only a country/region name of US is not specific enough to distinguish the appropriate string.

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0