MapControlDataHelper.TransitFeaturePointerExited 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示指针退出了传输功能。
注意
此 API 并非适用于所有 Windows 应用。 除非你的开发人员帐户由 Microsoft 专门预配,否则对此 API 的调用将在运行时失败。 有关此 API 和 Windows.Services.Maps.LocalSearch 命名空间的详细信息,请与 Microsoft 帐户团队代表合作。
// Register
event_token TransitFeaturePointerExited(TypedEventHandler<MapControl, MapControlTransitFeaturePointerExitedEventArgs const&> const& handler) const;
// Revoke with event_token
void TransitFeaturePointerExited(event_token const* cookie) const;
// Revoke with event_revoker
MapControlDataHelper::TransitFeaturePointerExited_revoker TransitFeaturePointerExited(auto_revoke_t, TypedEventHandler<MapControl, MapControlTransitFeaturePointerExitedEventArgs const&> const& handler) const;
public event TypedEventHandler<MapControl,MapControlTransitFeaturePointerExitedEventArgs> TransitFeaturePointerExited;
function onTransitFeaturePointerExited(eventArgs) { /* Your code */ }
mapControlDataHelper.addEventListener("transitfeaturepointerexited", onTransitFeaturePointerExited);
mapControlDataHelper.removeEventListener("transitfeaturepointerexited", onTransitFeaturePointerExited);
- or -
mapControlDataHelper.ontransitfeaturepointerexited = onTransitFeaturePointerExited;
Public Custom Event TransitFeaturePointerExited As TypedEventHandler(Of MapControl, MapControlTransitFeaturePointerExitedEventArgs)
事件类型
Windows 要求
设备系列 |
Windows Desktop Extension SDK (在 10.0.14393.0 中引入)
Windows Mobile Extension SDK (在 10.0.14393.0 中引入) Windows Team Extension SDK (在 10.0.14393.0 中引入) |
API contract |
Windows.Services.Maps.LocalSearchContract (在 v3.0 中引入)
|