GeocodeLocation Class

 

This documentation is no longer available on MSDN. It is available as a CHM or PDF download. For the newest Geocoding, Imagery, Routing and Traffic services, see Bing Maps REST Services. 

Contains a location and a property that indicates what method was used to match the location to the map. This class inherits from the Location Class.

Syntax

public class GeocodeLocation : Location
Public Class GeocodeLocation Inherits Location

Constructor

Name

Description

GeocodeLocation 

Initializes a new instance of a GeocodeLocation object.

Public Properties

Name

Description

Altitude

Reserved for future use.

CalculationMethod 

A string indicating the geocode method that was used to match the location to the map.

Latitude

A double specifying the latitude of a single point on the globe. Optional. The default value is 0. (Inherited from the Location Class.)

Longitude 

A double specifying the longitude of a single point on the globe. Optional. The default value is 0. (Inherited from the Location Class.)

See Also

GeocodeResult.Locations Property