Geocoordinate.Latitude 属性

定义

注意

Windows 8.1 和 Windows Phone 8.1 后,纬度可能会更改或不可用。 请改用 Geocoordinate.Point

纬度(以度为单位)。

public:
 property double Latitude { double get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("Latitude may be altered or unavailable after Windows 8.1. Instead, use Point.Position.Latitude", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
double Latitude();
/// [get: Windows.Foundation.Metadata.Deprecated("Latitude may be altered or unavailable after Windows 8.1. Instead, use Point.Position.Latitude", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
double Latitude();
public double Latitude { [Windows.Foundation.Metadata.Deprecated("Latitude may be altered or unavailable after Windows 8.1. Instead, use Point.Position.Latitude", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] get; }
public double Latitude { [Windows.Foundation.Metadata.Deprecated("Latitude may be altered or unavailable after Windows 8.1. Instead, use Point.Position.Latitude", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] get; }
var double = geocoordinate.latitude;
Public ReadOnly Property Latitude As Double

属性值

Double

double

纬度(以度为单位)。 值的有效范围为 -90.0 到 90.0。

属性

Windows 要求

应用功能
location ID_CAP_LOCATION [Windows Phone]

适用于