共用方式為


GeolocationRequest.DesiredAccuracy Property

Definition

Gets or sets the desired accuracy of the resulting location.

public:
 property Microsoft::Maui::Devices::Sensors::GeolocationAccuracy DesiredAccuracy { Microsoft::Maui::Devices::Sensors::GeolocationAccuracy get(); void set(Microsoft::Maui::Devices::Sensors::GeolocationAccuracy value); };
public Microsoft.Maui.Devices.Sensors.GeolocationAccuracy DesiredAccuracy { get; set; }
member this.DesiredAccuracy : Microsoft.Maui.Devices.Sensors.GeolocationAccuracy with get, set
Public Property DesiredAccuracy As GeolocationAccuracy

Property Value

The desired accuracy of the location.

Applies to