Click or drag to resize

CountryToIso3166 Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
This class contains a single static method. The method returns the ISO 3166-1-alpha-2 code for any Country.
Inheritance Hierarchy
SystemObject
  Telogis.GeoBaseCountryToIso3166

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public class CountryToIso3166

The CountryToIso3166 type exposes the following members.

Constructors
  NameDescription
Public methodCountryToIso3166
Initializes a new instance of the CountryToIso3166 class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberToString(Country)
Gets the ISO 3166-1-alpha-2 code any given Country
Top
Examples
C#
String cname = CountryToIso3166.ToString(Country.UK);
// cname = "GB"
See Also