MapControlDataHelper.BusinessLandmarkRightTapped イベント

定義

ユーザーがビジネスの場所を長押しするか、マウスの右ボタンでクリックしたときに発生します。 MapControlBusinessLandmarkRightTappedEventArgs のインスタンスは、このイベントのデータを提供します。

注意

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

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

イベントの種類

適用対象