Bewerken

Share via


CultureAndRegionInfoBuilder.RegionName Property

Definition

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.

Applies to