共用方式為


MapControlDataHelper.TransitFeaturePointerExited 事件

定義

表示指標已結束傳輸功能。

注意

此 API 不適用於所有 Windows 應用程式。 除非您的開發人員帳戶是由 Microsoft 特別布建,否則對此 API 的呼叫會在執行時間失敗。 如需此 API 和 Windows.Services.Maps.LocalSearch 命名空間的詳細資訊,請與您的 Microsoft 帳戶小組代表合作。

// Register
event_token TransitFeaturePointerExited(TypedEventHandler<MapControl, MapControlTransitFeaturePointerExitedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
MapControlDataHelper::TransitFeaturePointerExited_revoker TransitFeaturePointerExited(auto_revoke_t, TypedEventHandler<MapControl, MapControlTransitFeaturePointerExitedEventArgs const&> const& handler) const;
public event TypedEventHandler<MapControl,MapControlTransitFeaturePointerExitedEventArgs> TransitFeaturePointerExited;
function onTransitFeaturePointerExited(eventArgs) { /* Your code */ }
mapControlDataHelper.addEventListener("transitfeaturepointerexited", onTransitFeaturePointerExited);
mapControlDataHelper.removeEventListener("transitfeaturepointerexited", onTransitFeaturePointerExited);
- or -
mapControlDataHelper.ontransitfeaturepointerexited = onTransitFeaturePointerExited;
Public Custom Event TransitFeaturePointerExited As TypedEventHandler(Of MapControl, MapControlTransitFeaturePointerExitedEventArgs) 

事件類型

Windows 需求

裝置系列
Windows Desktop Extension SDK (已於 10.0.14393.0 引進)
Windows Mobile Extension SDK (已於 10.0.14393.0 引進)
Windows Team Extension SDK (已於 10.0.14393.0 引進)
API contract
Windows.Services.Maps.LocalSearchContract (已於 v3.0 引進)

適用於