共用方式為


HttpMapTileDataSource.UriRequested 事件

定義

發生于要求 HttpMapTileDataSource的磚時。 MapTileUriRequestedEventArgs的實例會提供此事件的資料。

// Register
event_token UriRequested(TypedEventHandler<HttpMapTileDataSource, MapTileUriRequestedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
HttpMapTileDataSource::UriRequested_revoker UriRequested(auto_revoke_t, TypedEventHandler<HttpMapTileDataSource, MapTileUriRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<HttpMapTileDataSource,MapTileUriRequestedEventArgs> UriRequested;
function onUriRequested(eventArgs) { /* Your code */ }
httpMapTileDataSource.addEventListener("urirequested", onUriRequested);
httpMapTileDataSource.removeEventListener("urirequested", onUriRequested);
- or -
httpMapTileDataSource.onurirequested = onUriRequested;
Public Custom Event UriRequested As TypedEventHandler(Of HttpMapTileDataSource, MapTileUriRequestedEventArgs) 

事件類型

適用於

另請參閱