MapControlDataHelper.BusinessLandmarkPointerEntered 事件

定义

指示指针已输入业务地标。

注意

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

// Register
event_token BusinessLandmarkPointerEntered(TypedEventHandler<MapControl, MapControlBusinessLandmarkPointerEnteredEventArgs const&> const& handler) const;

// Revoke with event_token
void BusinessLandmarkPointerEntered(event_token const* cookie) const;

// Revoke with event_revoker
MapControlDataHelper::BusinessLandmarkPointerEntered_revoker BusinessLandmarkPointerEntered(auto_revoke_t, TypedEventHandler<MapControl, MapControlBusinessLandmarkPointerEnteredEventArgs const&> const& handler) const;
public event TypedEventHandler<MapControl,MapControlBusinessLandmarkPointerEnteredEventArgs> BusinessLandmarkPointerEntered;
function onBusinessLandmarkPointerEntered(eventArgs) { /* Your code */ }
mapControlDataHelper.addEventListener("businesslandmarkpointerentered", onBusinessLandmarkPointerEntered);
mapControlDataHelper.removeEventListener("businesslandmarkpointerentered", onBusinessLandmarkPointerEntered);
- or -
mapControlDataHelper.onbusinesslandmarkpointerentered = onBusinessLandmarkPointerEntered;
Public Custom Event BusinessLandmarkPointerEntered As TypedEventHandler(Of MapControl, MapControlBusinessLandmarkPointerEnteredEventArgs) 

事件类型

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 中引入)

适用于