共用方式為


WebViewControl.UnviewableContentIdentified 事件

定義

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

如需詳細資訊,請參閱 Windows.Web.UI.IWebViewControl

// 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
WebViewControl::UnviewableContentIdentified_revoker UnviewableContentIdentified(auto_revoke_t, TypedEventHandler<IWebViewControl, WebViewControlUnviewableContentIdentifiedEventArgs const&> const& handler) const;
public event TypedEventHandler<IWebViewControl,WebViewControlUnviewableContentIdentifiedEventArgs> UnviewableContentIdentified;
function onUnviewableContentIdentified(eventArgs) { /* Your code */ }
webViewControl.addEventListener("unviewablecontentidentified", onUnviewableContentIdentified);
webViewControl.removeEventListener("unviewablecontentidentified", onUnviewableContentIdentified);
- or -
webViewControl.onunviewablecontentidentified = onUnviewableContentIdentified;
Public Custom Event UnviewableContentIdentified As TypedEventHandler(Of IWebViewControl, WebViewControlUnviewableContentIdentifiedEventArgs) Implements UnviewableContentIdentified

事件類型

實作

適用於