RegionName Property

CultureAndRegionInfoBuilder.RegionName Property

 

Gets the name of the country/region for the current CultureAndRegionInfoBuilder object.

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

public string RegionName { get; }

Property Value

Type: System.String

The name of the country/region for the current CultureAndRegionInfoBuilder object.

Exception Condition
NotSupportedException

This operation is not valid for a neutral culture.

The return value is the name of the culture specified in the CultureAndRegionInfoBuilder constructor. If the specified culture name is the same as an existing culture, except for case, the return value is the name of the existing culture, not the specified culture name.

The RegionName property corresponds to the Name property.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft