Condividi tramite


GuidanceNavigator.DestinationReached Evento

Definizione

Si verifica quando è stata raggiunta la destinazione della route.

Nota

Questa API non è disponibile per tutte le app di Windows. A meno che l'account per sviluppatore non venga effettuato appositamente da Microsoft, le chiamate a questa API avranno esito negativo in fase di esecuzione. Per altre informazioni sullo spazio dei nomi Windows.Services.Maps.Guidance , rivolgersi al rappresentante del team dell'account 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) 

Tipo evento

Si applica a