共用方式為


interface ICoreWebView2NewWindowRequestedEventHandler

interface ICoreWebView2NewWindowRequestedEventHandler
  : public IUnknown

Receives NewWindowRequested events.

Summary

Members Descriptions
Invoke Provides the event args for the corresponding event.

Applies to

Product Introduced
WebView2 Win32 0.9.430
WebView2 Win32 Prerelease 0.9.488

Members

Invoke

Provides the event args for the corresponding event.

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