GeoCoordinateWatcher.Start Method (Boolean)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 Sub Start (
	suppressPermissionPrompt As Boolean
)

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: