Geoposition class

Represents a location that may contain latitude and longitude data or venue data.

Syntax


public sealed class Geoposition

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Version(0x06020000)]

Members

The Geoposition class has these types of members:

Properties

The Geoposition class has these properties.

PropertyAccess typeDescription

CivicAddress

Read-onlyUnsupported API.

Coordinate

Read-onlyThe latitude and longitude associated with a geographic location.

VenueData

Read-onlyRepresents the venue associated with a geographic location.

 

Remarks

Retrieve a Geoposition object by using the GetGeopositionAsync method or handling the PositionChanged event.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Devices.Geolocation
Windows::Devices::Geolocation [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8 [Windows Store apps, desktop apps]

Minimum supported server

None supported [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8

Namespace

Windows.Devices.Geolocation
Windows::Devices::Geolocation [C++]

Metadata

Windows.winmd

See also

Object

 

 

Show:
© 2015 Microsoft