MapRouteFinderResult 类

定义

返回 MapRouteFinder 查询的结果。

public ref class MapRouteFinderResult 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 MapRouteFinderResult 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 MapRouteFinderResult
Public NotInheritable Class MapRouteFinderResult
继承
Object Platform::Object IInspectable MapRouteFinderResult
属性

Windows 要求

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

注解

调用 MapRouteFinder 类的方法时,将返回 MapRouteFinderResult

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

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

属性

AlternateRoutes

获取相同起点和终点之间的备用路由 ((如果可用) )。

Route

获取 MapRouteFinder 查询找到的路由。

Status

获取 MapRouteFinder 查询的状态。

适用于

另请参阅