Jaa


Geocoordinate.Altitude Property

Definition

Note

Altitude may be altered or unavailable after Windows 8.1 and Windows Phone 8.1. Instead, use Geocoordinate.Point.

The altitude of the location, in meters.

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)

Property Value

The altitude in meters.

Attributes

Windows requirements

App capabilities
location ID_CAP_LOCATION [Windows Phone]

Remarks

This optional property will be set if it is available. If the property is not available, the value will be NULL or NaN (depending on the operating system version). We recommend that your app checks for both of these possibilities.

Applies to