GuidanceNavigator.DestinationReached Ereignis

Definition

Tritt auf, wenn das Routenziel erreicht wurde.

Anmerkung

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 zum Windows.Services.Maps.Guidance Namespace können Sie mit Ihrem Microsoft-Kontoteammitarbeiter verwenden.

// Register
event_token DestinationReached(TypedEventHandler<GuidanceNavigator, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
GuidanceNavigator::DestinationReached_revoker DestinationReached(auto_revoke_t, TypedEventHandler<GuidanceNavigator, IInspectable const&> const& handler) const;
public event TypedEventHandler<GuidanceNavigator,object> DestinationReached;
function onDestinationReached(eventArgs) { /* Your code */ }
guidanceNavigator.addEventListener("destinationreached", onDestinationReached);
guidanceNavigator.removeEventListener("destinationreached", onDestinationReached);
- or -
guidanceNavigator.ondestinationreached = onDestinationReached;
Public Custom Event DestinationReached As TypedEventHandler(Of GuidanceNavigator, Object) 

Ereignistyp

Gilt für: