Share via


GeolocationProvider.ClearOverridePosition Method

Definition

Clears (or resets) an override position that was set previously by a call to GeolocationProvider.SetOverridePosition.

Note

To call location-override APIs, an app must declare the runFullTrust restricted capability.

Important

The Windows.Devices.Geolocation.Provider APIs are part of a Limited Access Feature (see LimitedAccessFeatures class). For more information or to request an unlock token, please use the LAF Access Token Request Form.

public:
 virtual void ClearOverridePosition() = ClearOverridePosition;
void ClearOverridePosition();
public void ClearOverridePosition();
function clearOverridePosition()
Public Sub ClearOverridePosition ()

Windows requirements

App capabilities
runFullTrust

Remarks

See Remarks in GeolocationProvider.

Applies to

See also