共用方式為


Geocoordinate.Longitude 屬性

定義

注意

在 Windows 8.1 和 Windows Phone 8.1 之後,可能會改變或無法使用經度。 請改用 Geocoordinate.Point

以度為單位的經度。

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

屬性值

Double

double

以度為單位的經度。 值的有效範圍是從 -180.0 到 180.0。

屬性

Windows 需求

應用程式功能
location ID_CAP_LOCATION [Windows Phone]

適用於