MapControlDataHelper.BusinessLandmarkClick Ereignis

Definition

Tritt auf, wenn der Benutzer auf einen Geschäftsstandort tippt oder mit der linken Maustaste darauf klickt. Eine instance von MapControlBusinessLandmarkClickEventArgs stellt Daten für dieses Ereignis bereit.

Hinweis

Diese API ist nicht für alle Windows-Apps verfügbar. Sofern Ihr Entwicklerkonto nicht speziell von Microsoft bereitgestellt wird, schlagen Aufrufe dieser API zur Laufzeit fehl. Weitere Informationen zu dieser API und dem Windows.Services.Maps.LocalSearch-Namespace erhalten Sie von Ihrem Microsoft-Kontoteammitarbeiter.

// Register
event_token BusinessLandmarkClick(TypedEventHandler<MapControl, MapControlBusinessLandmarkClickEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
MapControlDataHelper::BusinessLandmarkClick_revoker BusinessLandmarkClick(auto_revoke_t, TypedEventHandler<MapControl, MapControlBusinessLandmarkClickEventArgs const&> const& handler) const;
public event TypedEventHandler<MapControl,MapControlBusinessLandmarkClickEventArgs> BusinessLandmarkClick;
function onBusinessLandmarkClick(eventArgs) { /* Your code */ }
mapControlDataHelper.addEventListener("businesslandmarkclick", onBusinessLandmarkClick);
mapControlDataHelper.removeEventListener("businesslandmarkclick", onBusinessLandmarkClick);
- or -
mapControlDataHelper.onbusinesslandmarkclick = onBusinessLandmarkClick;
Public Custom Event BusinessLandmarkClick As TypedEventHandler(Of MapControl, MapControlBusinessLandmarkClickEventArgs) 

Ereignistyp

Gilt für: