interface IWebView2DocumentStateChangedEventArgs

Note

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

interface IWebView2DocumentStateChangedEventArgs
  : public IUnknown

Event args for the DocumentStateChanged event.

Summary

Members Descriptions
get_IsNewDocument True if the page being navigated to is a new document.
get_IsErrorPage True if the loaded content is an error page.

Members

get_IsNewDocument

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

public HRESULT get_IsNewDocument(BOOL * isNewDocument)

get_IsErrorPage

True if the loaded content is an error page.

public HRESULT get_IsErrorPage(BOOL * isErrorPage)