GeoId Property

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.

Exception Condition

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
Available since 2.0
Return to top
© 2015 Microsoft