Adds a URI filter and resource context filter for the WebResourceRequested event.
Syntax
object.Add_WebResourceRequestedFilter(strFilter
As String, [FilterContext As oWebView2ResourceFilter])
The Add_WebResourceRequestedFilter method syntax has these parts:
| Element | Description |
| Object | The object placeholder represents an OrdoWebView2 control |
| strFilter |
String, The strFilter parameter value is a wildcard string
matched against the URI of the web resource request. This is a glob style
wildcard string in which a * matches zero or more characters and a ?
matches exactly one character. These wildcard characters can be escaped
using a backslash just before the wildcard character in order to represent
the literal * or ?. |
| FilterContext |
oWebView2ResourceFilter.
A resource context filter to be added to the
WebResourceRequested event.
|