Geolocator.DesiredAccuracyInMeters 属性

定义

获取或设置从定位服务返回的数据所需的精度(以米为单位)。

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)

属性值

IReference<UInt32>

Nullable<UInt32>

Windows.Foundation.IReference

IReference<uint32_t>

从位置服务返回的数据所需的精度(以米为单位)。

Windows 要求

应用功能
location ID_CAP_LOCATION [Windows Phone]

适用于