Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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.

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft