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]

适用于