Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
property int GeoId {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

A 32-bit signed number that uniquely identifies a geographical location.

Exception Condition
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
Available since 2.0
Return to top
Show:
© 2017 Microsoft