Partager via


GuidanceNavigator.DestinationReached Événement

Définition

Se produit lorsque la destination de l’itinéraire a été atteinte.

Notes

Cette API n’est pas disponible pour toutes les applications Windows. Sauf si votre compte de développeur est spécialement approvisionné par Microsoft, les appels à cette API échouent au moment de l’exécution. Pour plus d’informations sur l’espace de noms Windows.Services.Maps.Guidance , contactez votre représentant de l’équipe de compte Microsoft.

// 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) 

Type d'événement

S’applique à