MapControlDataHelper.BusinessLandmarkRightTapped Ereignis

Definition

Tritt auf, wenn der Benutzer einen Geschäftsstandort drückt und hält oder mit der rechten Maustaste darauf klickt. Eine instance von MapControlBusinessLandmarkRightTappedEventArgs 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 BusinessLandmarkRightTapped(TypedEventHandler<MapControl, MapControlBusinessLandmarkRightTappedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
MapControlDataHelper::BusinessLandmarkRightTapped_revoker BusinessLandmarkRightTapped(auto_revoke_t, TypedEventHandler<MapControl, MapControlBusinessLandmarkRightTappedEventArgs const&> const& handler) const;
public event TypedEventHandler<MapControl,MapControlBusinessLandmarkRightTappedEventArgs> BusinessLandmarkRightTapped;
function onBusinessLandmarkRightTapped(eventArgs) { /* Your code */ }
mapControlDataHelper.addEventListener("businesslandmarkrighttapped", onBusinessLandmarkRightTapped);
mapControlDataHelper.removeEventListener("businesslandmarkrighttapped", onBusinessLandmarkRightTapped);
- or -
mapControlDataHelper.onbusinesslandmarkrighttapped = onBusinessLandmarkRightTapped;
Public Custom Event BusinessLandmarkRightTapped As TypedEventHandler(Of MapControl, MapControlBusinessLandmarkRightTappedEventArgs) 

Ereignistyp

Gilt für: