Bewerken

Share via


GeoCoordinateWatcher Constructors

Definition

Initializes a new instance of GeoCoordinateWatcher.

Overloads

GeoCoordinateWatcher()

Initializes a new instance of GeoCoordinateWatcher with default accuracy settings.

GeoCoordinateWatcher(GeoPositionAccuracy)

Initializes a new instance of GeoCoordinateWatcher, given an accuracy level.

Remarks

Note In versions of Windows prior to Windows 7, the following conditions apply:

GeoCoordinateWatcher()

Initializes a new instance of GeoCoordinateWatcher with default accuracy settings.

public:
 GeoCoordinateWatcher();
public GeoCoordinateWatcher ();
Public Sub New ()

Remarks

The default accuracy setting is Default.

Note In versions of Windows prior to Windows 7, the following conditions apply:

Applies to

GeoCoordinateWatcher(GeoPositionAccuracy)

Initializes a new instance of GeoCoordinateWatcher, given an accuracy level.

public:
 GeoCoordinateWatcher(System::Device::Location::GeoPositionAccuracy desiredAccuracy);
public GeoCoordinateWatcher (System.Device.Location.GeoPositionAccuracy desiredAccuracy);
new System.Device.Location.GeoCoordinateWatcher : System.Device.Location.GeoPositionAccuracy -> System.Device.Location.GeoCoordinateWatcher
Public Sub New (desiredAccuracy As GeoPositionAccuracy)

Parameters

desiredAccuracy
GeoPositionAccuracy

GeoPositionAccuracy that indicates the requested accuracy level of the location provider.

An accuracy of High can degrade performance and should be specified only when high accuracy is needed.

Remarks

Note In versions of Windows prior to Windows 7, the following conditions apply:

Applies to