共用方式為


interface ICoreWebView2WebResourceRequestedEventArgs2

Note

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

interface ICoreWebView2WebResourceRequestedEventArgs2
  : public ICoreWebView2WebResourceRequestedEventArgs

Event args for the WebResourceRequested event.

Summary

Members Descriptions
get_RequestedSourceKind The web resource requested source.

Applies to

Product Introduced
WebView2 Win32 N/A
WebView2 Win32 Prerelease 1.0.2357

Members

get_RequestedSourceKind

The web resource requested source.

public HRESULT get_RequestedSourceKind(COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS * requestedSourceKind)