Export (0) Print
Expand All

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.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft