GeoCoordinate.Latitude Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the latitude of the GeoCoordinate.

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

Syntax

Public Property Latitude As Double
public double Latitude { get; set; }
<object Latitude="double" .../>

Property Value

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

Remarks

The latitude value must be between -90 and 90.

Setting this property may throw one of the following exceptions.

ArgumentOutOfRangeException

The argument must be in range -90 to 90.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

GeoCoordinate Class

System.Device.Location Namespace