GeocodeAddressSubregions Property |
Namespace: Telogis.GeoBase
GeocodeAddress addr = GeoCoder.GeoCode("20 Enterprise, Aliso Viejo, California", Country.USA)[0]; String[] regionsArray = addr.Subregions; if (regionsArray.Length > 0) { Console.WriteLine("Subregions within this city are:"); for (int i = 0; i < regionsArray.Length; i++) { Console.WriteLine(regionsArray[i]); } } else { Console.WriteLine("No subregions found."); }