This documentation is archived and is not being maintained.
GeoCoordinate.Longitude Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
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.
'Declaration
Public Property Longitude As Double
<object Longitude="double" .../>
The longitude value must be between -180 and 180.
Setting this property may throw one of the following exceptions.
ArgumentOutOfRangeException | The argument must be in range -180 to 180. |
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0