Export (0) Print
Expand All
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GeoCoordinate.Longitude Property

July 28, 2014

Gets or sets the longitude of the GeoCoordinate.

Namespace:  System.Device.Location
Assembly:  System.Device (in System.Device.dll)
XMLNS for XAML: Not mapped to an xmlns.

public double Longitude { get; set; }
<object Longitude="double" .../>

Property Value

Type: System.Double
Type: Double. The longitude of the GeoCoordinate.

The longitude value must be between -180 and 180.

Setting this property may throw one of the following exceptions.


The argument must be in range -180 to 180.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2014 Microsoft