共用方式為


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]

適用於