MapPoint Web Service is deprecated and will be retired November 18, 2011. Please go to http://www.microsoft.com/maps/mappoint.aspx for information about upgrading to Bing Maps.
Contains constituent parts of an address—which may include street line, city, secondary city, subdivision, postal code, country/region—and/or a complete, unparsed address.
[Visual Basic] Public Class Address Inherits System.Object
[C#] public class Address : System.Object
The street line of an address. The AddressLine property is the most precise, official line for an address relative to the postal agency servicing the area specified by the PrimaryCity, SecondaryCity, or PostalCode properties. Typical use of this element would be to enclose a street address, private bag, or any other similar official address.
The country or region name of an address.
The complete, unparsed address.
The post code, postal code, or ZIP Code of an address.
The name of the city of an address.
The name of the secondary city of an address in the United Kingdom.
The subdivision name within the country or region for an address. This element is also commonly treated as the first order administrative subdivision, but in some cases it is the second, third, or fourth order subdivision within a country, dependency, or region.
For an address to be valid for use with the FindAddress method, it must contain one of the following:
At least one context element such as PrimaryCity, SecondaryCity, PostalCode, or Subdivision property. (The AddressLine property is optional.)
A FormattedAddress property.
If all properties are sent, the method uses the AddressLine and context properties. If the PrimaryCity property is null or if it is passed without any context properties, the method uses the FormattedAddress property.
The Address class is returned from the FindServiceSoap.ParseAddress method.
If available for the specified latitude and longitude coordinate, the Address class is returned from the FindServiceSoap.GetLocationInfo method if the GetInfoOptions.IncludeAddresses property is True.
The Address class is also used as a property of the Location object.
The following table shows how the parts of an address in the following countries or regions map to the properties of the Address class.
Austria, Belgium, Denmark, Finland, France, Germany, Greece, Luxembourg, Norway, Sweden, Switzerland, Taiwan, and The Netherlands
Australia and Brazil
Italy, Portugal, and Spain
Singapore and New Zealand
Address Line 1
Address Line 2