GuidanceLaneInfo 类

定义

表示当前位置附近的一条通道,该通道与路线的关系。

注意

此 API 并非适用于所有 Windows 应用。 除非你的开发人员帐户由 Microsoft 专门预配,否则对此 API 的调用将在运行时失败。 有关 Windows.Services.Maps.Guidance 命名空间的详细信息,请与 Microsoft 帐户团队代表联系。

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

Windows 要求

设备系列
Windows Desktop Extension SDK (在 10.0.10240.0 中引入)
Windows Mobile Extension SDK (在 10.0.10240.0 中引入)
API contract
Windows.Services.Maps.GuidanceContract (在 v1.0 中引入)

属性

IsOnRoute

获取一个值,该值指示通道是否在路由上。

注意

此 API 并非适用于所有 Windows 应用。 除非你的开发人员帐户由 Microsoft 专门预配,否则对此 API 的调用将在运行时失败。 有关 Windows.Services.Maps.Guidance 命名空间的详细信息,请与 Microsoft 帐户团队代表联系。

LaneMarkers

获取一个值,该值描述通道的路径。

注意

此 API 并非适用于所有 Windows 应用。 除非你的开发人员帐户由 Microsoft 专门预配,否则对此 API 的调用将在运行时失败。 有关 Windows.Services.Maps.Guidance 命名空间的详细信息,请与 Microsoft 帐户团队代表联系。

适用于