Share via


Geocoordinate.Longitude Eigenschaft

Definition

Hinweis

Längengrad kann nach Windows 8.1 und Windows Phone 8.1 geändert oder nicht verfügbar sein. Verwenden Sie stattdessen Geocoordinate.Point.

Der Längengrad in Grad.

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

Eigenschaftswert

Double

double

Der Längengrad in Grad. Der gültige Wertebereich liegt zwischen -180,0 und 180,0.

Attribute

Windows-Anforderungen

App-Funktionen
location ID_CAP_LOCATION [Windows Phone]

Gilt für: