CultureAndRegionInfoBuilder.RegionName 属性
定义
获取当前 CultureAndRegionInfoBuilder 对象的国家/地区的名称。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
属性值
当前 CultureAndRegionInfoBuilder 对象的国家/地区的名称。The name of the country/region for the current CultureAndRegionInfoBuilder object.
例外
此操作对非特定区域性无效。This operation is not valid for a neutral culture.
注解
返回值是在构造函数中指定的区域性的名称 CultureAndRegionInfoBuilder 。The return value is the name of the culture specified in the CultureAndRegionInfoBuilder constructor. 如果指定的区域性名称与现有区域性的名称相同(例如,case 除外),则返回值为现有区域性的名称,而不是指定的区域性名称。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.
RegionName属性对应于 Name 属性。The RegionName property corresponds to the Name property.