GeoCoordinateWatcher::Position Property
.NET Framework (current version)
Gets the GeoCoordinate which indicates the current location.
Assembly: System.Device (in System.Device.dll)
public: property GeoPosition<GeoCoordinate^>^ Position { virtual GeoPosition<GeoCoordinate^>^ get() sealed; }
Property Value
Type: System.Device.Location::GeoPosition<GeoCoordinate^>^The GeoCoordinate which indicates the current location.
Implements
IGeoPositionWatcher<T>::PositionIn the following example, the Location property of the Position property is saved in a GeoCoordinate object. The latitude and longitude fields of the GeoCoordinate are printed if they are known.
.NET Framework
Available since 4.0
Windows Phone Silverlight
Available since 7.0
Available since 4.0
Windows Phone Silverlight
Available since 7.0
Show: