CultureAndRegionInfoBuilder.RegionName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the name of the country/region for the current CultureAndRegionInfoBuilder object.
public:
property System::String ^ RegionName { System::String ^ get(); };
public string RegionName { get; }
member this.RegionName : string
Public ReadOnly Property RegionName As String
Property Value
The name of the country/region for the current CultureAndRegionInfoBuilder object.
Exceptions
This operation is not valid for a neutral culture.
Remarks
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.