共用方式為


interface ICoreWebView2FaviconChangedEventHandler

Note

This reference is no longer being maintained. For the latest API reference, see WebView2 API Reference.

interface ICoreWebView2FaviconChangedEventHandler
  : public IUnknown

This interface is a handler for when the Favicon is changed.

Summary

Members Descriptions
Invoke Called to notify the favicon changed. The event args are always null.

The sender is the ICoreWebView2 object the top-level document of which has changed favicon and the eventArgs is nullptr. Use the FaviconUri property and GetFavicon method to obtain the favicon data. The second argument is always null. For more information see add_FaviconChanged.

Applies to

Product Introduced
WebView2 Win32 1.0.1293.44
WebView2 Win32 Prerelease 1.0.1305

Members

Invoke

Called to notify the favicon changed. The event args are always null.

public HRESULT Invoke(ICoreWebView2 * sender, IUnknown * args)