CountryToIso3166 Class |
Namespace: Telogis.GeoBase
The CountryToIso3166 type exposes the following members.
Name | Description | |
---|---|---|
CountryToIso3166 | Initializes a new instance of the CountryToIso3166 class |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
ToString(Country) |
Gets the ISO 3166-1-alpha-2 code any given Country |
String cname = CountryToIso3166.ToString(Country.UK);
// cname = "GB"