GeoCoordinateWatcher::Start Method (Boolean)

.NET Framework (current version)
 

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.

.NET Framework
Available since 4.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: