MapAddress class

Bing
 

Represents an address on the map.

There is no public constructor for this class. The GeocodeAddress class and VenueAddress class inherit from this class.

Name

Type

Description

AddressLine

Location Type

Gets the official street line of an address relative to the area, as specified by the Locality, or PostalCode, properties. Typical use of this element would be to provide a street address or any official address.

Example: 1 Microsoft Way

AdminDistirct

string

Gets a string specifying the subdivision name in the country or region for an address. This element is typically treated as the first order administrative subdivision, but in some cases it is the second, third, or fourth order subdivision in a country, dependency, or region.

Example: 1 Microsoft Way

AdminDistrict2

string

Gets a string specifying the subdivision name in the country or region for an address. This element is used when there is another level of subdivision information for a location, such as the county.

Example: King

CountryRegion

string

Gets a string specifying the country or region name of an address.

Example: United States

Locality

string

Gets a string specifying the populated place for the address. This typically refers to a city, but may refer to a suburb or a neighborhood in certain countries.

Example: Redmond

PostalCode

string

Gets a string specifying the post code, postal code, or ZIP Code of an address.

Example: 98178

Show: