Share via


Geocoordinate.Altitude Propiedad

Definición

Nota

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

Altitud de la ubicación, en metros.

public:
 property IReference<double> ^ Altitude { IReference<double> ^ get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("Altitude may be altered or unavailable after Windows 8.1. Instead, use Point.Position.Altitude", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
IReference<double> Altitude();
/// [get: Windows.Foundation.Metadata.Deprecated("Altitude may be altered or unavailable after Windows 8.1. Instead, use Point.Position.Altitude", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
IReference<double> Altitude();
public System.Nullable<double> Altitude { [Windows.Foundation.Metadata.Deprecated("Altitude may be altered or unavailable after Windows 8.1. Instead, use Point.Position.Altitude", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] get; }
public System.Nullable<double> Altitude { [Windows.Foundation.Metadata.Deprecated("Altitude may be altered or unavailable after Windows 8.1. Instead, use Point.Position.Altitude", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] get; }
var iReference = geocoordinate.altitude;
Public ReadOnly Property Altitude As Nullable(Of Double)

Valor de propiedad

Altitud en metros.

Atributos

Requisitos de Windows

Características de aplicaciones
location ID_CAP_LOCATION [Windows Phone]

Comentarios

Esta propiedad opcional se establecerá si está disponible. Si la propiedad no está disponible, el valor será NULL o NaN (dependiendo de la versión del sistema operativo). Te recomendamos que tu aplicación compruebe ambas posibilidades.

Se aplica a