This documentation is archived and is not being maintained.
CultureAndRegionInfoBuilder::RegionName Property
Visual Studio 2010
Gets the name of the country/region for the current CultureAndRegionInfoBuilder object.
Assembly: sysglobl (in sysglobl.dll)
Property Value
Type: System::StringThe 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.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: