MapLocationFinderResult 类

定义

返回 MapLocationFinder 查询的结果。

public ref class MapLocationFinderResult sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MapLocationFinderResult final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MapLocationFinderResult
Public NotInheritable Class MapLocationFinderResult
继承
Object Platform::Object IInspectable MapLocationFinderResult
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

注解

调用 MapLocationFinder 类的方法时,将返回 MapLocationFinderResult

通用 Windows 应用必须先进行身份验证,然后才能使用 Windows.Services.Maps 命名空间中的 MapControl 和地图服务。 若要对应用进行身份验证,必须指定地图身份验证密钥。

请参阅 请求映射身份验证密钥

属性

Locations

获取 MapLocationFinder 查询找到的位置列表。

Status

获取 MapLocationFinder 查询的状态。

适用于

另请参阅