This documentation is archived and is not being maintained.

GeoCoordinateWatcher::Start Method (Boolean)

Initiate the acquisition of data from the current location provider. This method enables PositionChanged events and allows access to the Position property.

Namespace:  System.Device.Location
Assembly:  System.Device (in System.Device.dll)

public:
virtual void Start(
	bool suppressPermissionPrompt
) sealed

Parameters

suppressPermissionPrompt
Type: System::Boolean
true to suppress the permission dialog box; false to optionally show the permission dialog box if permissions have not already been granted.

Implements

IGeoPositionWatcher<T>::Start(Boolean)

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: