共用方式為


interface ICoreWebView2SourceChangedEventArgs

Note

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

interface ICoreWebView2SourceChangedEventArgs
  : public IUnknown

Event args for the SourceChanged event.

Summary

Members Descriptions
get_IsNewDocument TRUE if the page being navigated to is a new document.

Applies to

Product Introduced
WebView2 Win32 0.9.430
WebView2 Win32 Prerelease 0.9.488

Members

get_IsNewDocument

TRUE if the page being navigated to is a new document.

public HRESULT get_IsNewDocument(BOOL * isNewDocument)