Compartir a través de


Geocoordinate.Longitude Propiedad

Definición

Nota

La longitud puede modificarse o no estar disponible después de Windows 8.1 y Windows Phone 8.1. En su lugar, use Geocoordinate.Point.

Longitud en grados.

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

Valor de propiedad

Double

double

Longitud en grados. El intervalo válido de valores es de -180,0 a 180,0.

Atributos

Requisitos de Windows

Características de aplicaciones
location ID_CAP_LOCATION [Windows Phone]

Se aplica a