Share via


Geolocator.DesiredAccuracyInMeters Property

Definition

Gets or sets the desired accuracy in meters for data returned from the location service.

public:
 property IReference<unsigned int> ^ DesiredAccuracyInMeters { IReference<unsigned int> ^ get(); void set(IReference<unsigned int> ^ value); };
IReference<uint32_t> DesiredAccuracyInMeters();

void DesiredAccuracyInMeters(IReference<uint32_t> value);
public System.Nullable<uint> DesiredAccuracyInMeters { get; set; }
var iReference = geolocator.desiredAccuracyInMeters;
geolocator.desiredAccuracyInMeters = iReference;
Public Property DesiredAccuracyInMeters As Nullable(Of UInteger)

Property Value

IReference<UInt32>

Nullable<UInt32>

Windows.Foundation.IReference<unsigned int>

IReference<uint32_t>

The desired accuracy in meters for data returned from the location service.

Windows requirements

App capabilities
location ID_CAP_LOCATION [Windows Phone]

Applies to