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