共用方式為


interface ICoreWebView2NewWindowRequestedEventArgs3

interface ICoreWebView2NewWindowRequestedEventArgs3
  : public ICoreWebView2NewWindowRequestedEventArgs2

This is a continuation of the ICoreWebView2NewWindowRequestedEventArgs interface.

Summary

Members Descriptions
get_OriginalSourceFrameInfo The frame info of the frame where the new window request originated.

Applies to

Product Introduced
WebView2 Win32 1.0.2151.40
WebView2 Win32 Prerelease 1.0.2106

Members

get_OriginalSourceFrameInfo

The frame info of the frame where the new window request originated.

public HRESULT get_OriginalSourceFrameInfo(ICoreWebView2FrameInfo ** value)

The OriginalSourceFrameInfo is a snapshot of frame information at the time when the new window was requested.

See ICoreWebView2FrameInfo for details on frame properties.