共用方式為


interface ICoreWebView2ContentLoadingEventArgs

interface ICoreWebView2ContentLoadingEventArgs
  : public IUnknown

Event args for the ContentLoading event.

Summary

Members Descriptions
get_IsErrorPage TRUE if the loaded content is an error page.
get_NavigationId The ID of the navigation.

Applies to

Product Introduced
WebView2 Win32 0.9.430
WebView2 Win32 Prerelease 0.9.488

Members

get_IsErrorPage

TRUE if the loaded content is an error page.

public HRESULT get_IsErrorPage(BOOL * value)

get_NavigationId

The ID of the navigation.

public HRESULT get_NavigationId(UINT64 * value)