共用方式為


WebUIView.UnviewableContentIdentified 事件

定義

控制項嘗試下載不支援的檔案時所觸發的事件。

// Register
event_token UnviewableContentIdentified(TypedEventHandler<IWebViewControl, WebViewControlUnviewableContentIdentifiedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
WebUIView::UnviewableContentIdentified_revoker UnviewableContentIdentified(auto_revoke_t, TypedEventHandler<IWebViewControl, WebViewControlUnviewableContentIdentifiedEventArgs const&> const& handler) const;
public event TypedEventHandler<IWebViewControl,WebViewControlUnviewableContentIdentifiedEventArgs> UnviewableContentIdentified;
function onUnviewableContentIdentified(eventArgs) { /* Your code */ }
webUIView.addEventListener("unviewablecontentidentified", onUnviewableContentIdentified);
webUIView.removeEventListener("unviewablecontentidentified", onUnviewableContentIdentified);
- or -
webUIView.onunviewablecontentidentified = onUnviewableContentIdentified;
Public Custom Event UnviewableContentIdentified As TypedEventHandler(Of IWebViewControl, WebViewControlUnviewableContentIdentifiedEventArgs) Implements UnviewableContentIdentified

事件類型

實作

適用於