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