This documentation is archived and is not being maintained.

CultureAndRegionInfoBuilder.GeoId Property

Gets or sets a unique identification number for a geographical region, country, city, or location.

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

public int GeoId { get; set; }

Property Value

Type: System.Int32
A 32-bit signed number that uniquely identifies a geographical location.

ExceptionCondition
NotSupportedException

The current CultureAndRegionInfoBuilder object defines a neutral culture.

The GeoId property corresponds to the GeoId property.

The application should use the GeoId property to provide culture-specific services to customers. For example, the GeoId property can be used as a key to access a database record that contains specific information about a region.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

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: