Thanks Wilfried, but that didn't work. When using that, I got no locations at all, since there were no good results, since the country always got parsed wrong. If I supply a correct street, city and postal code for a German location, but the country is Sweden, the address result is of poor quality.
The thing is, if I use a code that looks like this:
Code:
FindResults Results = MP.ActiveMap.FindAddressResults("A street", "A city", "Other city", "Region", "Postal code", "Germany");
(assume that all attributes point to an existing address)
I want the result to be the same as in:
Code:
FindResults Results = MP.ActiveMap.FindAddressResults("A street", "A city", "Other city", "Region", "Postal code", GeoCountry.geoCountryGermany);
Note that the country is the only different thing in the two examples. However, the method doesn't understand that "Germany" as a string object is the same thing as GeoCountry.geoCountryGermany.