Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CultureAndRegionInfoBuilder::RegionName Property

 

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

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

public:
property String^ RegionName {
	String^ 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:
© 2017 Microsoft