GuidanceNavigator.Rerouted イベント

定義

ナビゲーション ガイダンスが再ルーティングされたときに発生します。

手記

この API は、すべての Windows アプリで使用できるわけではありません。 開発者アカウントが Microsoft によって特別にプロビジョニングされていない限り、この API の呼び出しは実行時に失敗します。 Windows.Services.Maps.Guidance 名前空間の詳細については、Microsoft アカウント チームの担当者にお問い合わせください。

// Register
event_token Rerouted(TypedEventHandler<GuidanceNavigator, GuidanceReroutedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
GuidanceNavigator::Rerouted_revoker Rerouted(auto_revoke_t, TypedEventHandler<GuidanceNavigator, GuidanceReroutedEventArgs const&> const& handler) const;
public event TypedEventHandler<GuidanceNavigator,GuidanceReroutedEventArgs> Rerouted;
function onRerouted(eventArgs) { /* Your code */ }
guidanceNavigator.addEventListener("rerouted", onRerouted);
guidanceNavigator.removeEventListener("rerouted", onRerouted);
- or -
guidanceNavigator.onrerouted = onRerouted;
Public Custom Event Rerouted As TypedEventHandler(Of GuidanceNavigator, GuidanceReroutedEventArgs) 

イベントの種類

適用対象