Share via


CountryRegionInfo.Iso3 Property

CountryRegionInfo.Iso3 Property

The International Organization for Standardization (ISO) three-letter country code for current countries\ regions.


Public Iso3 As System.String


[C#]

public System.String Iso3;

Remarks

  • In cases in which the ISO 3166-1 standard does not contain a two-letter code for a country/region, MapPoint Web Service uses the ISO 3166-2 code, which includes the country code appended with a subdivision code. If there is no subdivision code, the GeoISO3 property is null.

  • For more information about MapPoint Web Service Iso3 property values, see CountryRegion Entity IDs.

Example

[Visual Basic]

'Get CountryRegionInfo for the United States
Dim entityIDs(0) As Integer
entityIDs(0) = 244
Dim myCountryRegionInfo() As CountryRegionInfo
myCountryRegionInfo = commonService.GetCountryRegionInfo(entityIDs)

'Output the information
Console.WriteLine(myCountryRegionInfo(0).FriendlyName)
Console.WriteLine(myCountryRegionInfo(0).EntityID.ToString())
Console.WriteLine(myCountryRegionInfo(0).Iso2)
Console.WriteLine(myCountryRegionInfo(0).Iso3)
Console.WriteLine(myCountryRegionInfo(0).OfficialName)
Console.WriteLine(myCountryRegionInfo(0).LatLong.Latitude.ToString() _
 + ", " + myCountryRegionInfo(0).LatLong.Longitude.ToString())



[C#]

//Get CountryRegionInfo for the United States
int[] entityIDs= new int[1];
entityIDs[0] = 244;
CountryRegionInfo[] myCountryRegionInfo;
myCountryRegionInfo = commonService.GetCountryRegionInfo(entityIDs);

//Output the information
Console.WriteLine(myCountryRegionInfo[0].FriendlyName);
Console.WriteLine(myCountryRegionInfo[0].EntityID.ToString());
Console.WriteLine(myCountryRegionInfo[0].Iso2);
Console.WriteLine(myCountryRegionInfo[0].Iso3);
Console.WriteLine(myCountryRegionInfo[0].OfficialName);
Console.WriteLine(myCountryRegionInfo[0].LatLong.Latitude.ToString() 
 + ", " + myCountryRegionInfo[0].LatLong.Longitude.ToString());


See Also

  CountryRegionInfo Class   |   CountryRegion Entity IDs