Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Geoposition class

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

Syntax


/* For information about creating or accessing this object, see Remarks. */

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

Capabilities

location
ID_CAP_LOCATION [Windows Phone]

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

Capabilities

location
ID_CAP_LOCATION [Windows Phone]

See also

Object

 

 

Show:
© 2015 Microsoft