Share via


Geocoordinate.Altitude Eigenschaft

Definition

Hinweis

Die Höhe kann nach Windows 8.1 und Windows Phone 8.1 geändert oder nicht verfügbar sein. Verwenden Sie stattdessen Geocoordinate.Point.

Die Höhe des Standorts in Metern.

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)

Eigenschaftswert

Die Höhe in Meter.

Attribute

Windows-Anforderungen

App-Funktionen
location ID_CAP_LOCATION [Windows Phone]

Hinweise

Diese optionale Eigenschaft wird festgelegt, wenn sie verfügbar ist. Wenn die Eigenschaft nicht verfügbar ist, ist der Wert NULL oder NaN (abhängig von der Betriebssystemversion). Es wird empfohlen, dass Ihre App nach beiden Möglichkeiten sucht.

Gilt für: