GuidanceLaneInfo 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示当前位置附近的一条通道,该通道与路线的关系。
注意
此 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
- 继承
- 属性
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 帐户团队代表联系。 |
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈